Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download button not appearing for http://concert.arte.tv #40

Closed
cbothamy opened this issue Dec 22, 2015 · 4 comments
Closed

download button not appearing for http://concert.arte.tv #40

cbothamy opened this issue Dec 22, 2015 · 4 comments

Comments

@cbothamy
Copy link

Console log :

GM debug mode enabled arte-downloader.user.js:56:5
> Found 1 video players: arte-downloader.user.js:695:5
"    - #0 player JSON: https://api.arte.tv/api/player/v1/config/fr/064790-000-A?vector=ALW&autostart=1" arte-downloader.user.js:483:5

====================================
              player #0
====================================
> 0 formats:
    - 0 HTTP videos,
    - 0 RTMP streams,
    - 0 HLS streams. arte-downloader.user.js:197:1
> Languages: arte-downloader.user.js:208:9
> Decorating regular player arte-downloader.user.js:423:9
...not found. arte-downloader.user.js:563:5
Unknown URL format arte-downloader.user.js:249:9
GM debug mode enabled arte-downloader.user.js:56:5
> Found 0 video players: arte-downloader.user.js:695:5

It seems the "videoFormat" attribute is absent from the json

   "VSR": {
            "HTTP_EQ_1": {
                "id": "HTTP_EQ_1",
                "quality": "EQ",
                "width": 720,
                "height": 406,
                "mediaType": "mp4",
                "mimeType": "video\/mp4",
                "bitrate": 1500,
                "url": "http:\/\/arteconcert.gl-systemhaus.de\/am\/concert\/064000\/064700\/064790-000-B_EQ_0_VO_02109291_MP4-1500_AMM-ALW.mp4",
                "versionProg": 1,
                "versionCode": "VO",
                "versionLibelle": "Musicale (original)",
                "versionShortLibelle": "VO"
            },

that make the preParsePlayerJson function fails to detect the streams.

@cbothamy cbothamy changed the title a download button not appearing for http://concert.arte.tv Dec 22, 2015
@Bumbadawg
Copy link
Collaborator

Thanks for the feedback @cbothamy !
I currently don't see any video on the main http://concert.arte.tv.
This page http://concert.arte.tv/fr/mimopsis-le-magnificat-de-bach is the kind of page where you'll find your concert video available to download.

It seems the "videoFormat" attribute is absent from the json

we also match with the mediaType attribute to avoid that intermittent lack.

...not found. arte-downloader.user.js:563:5

No video found indeed, but the line indicated is not corresponding to the last version of the script.
Update and try again.

@Bumbadawg
Copy link
Collaborator

try here https://github.com/Bumbadawg/ARTE-Downloader
i enabled a log line to investigate this issue

@cbothamy
Copy link
Author

Thanks, I was obviously mistaken somewhere... Download button appears as expected now.

@Bumbadawg
Copy link
Collaborator

Alright!
Thanks for the feedback.

Season's greetings :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants