GuGuss / ARTE-7-Downloader

User script to download videos from the ARTE+7 website
GNU General Public License v3.0
263 stars 33 forks source link

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

Closed cbothamy closed 8 years ago

cbothamy commented 8 years ago

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.

Bumbadawg commented 8 years ago

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 commented 8 years ago

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

cbothamy commented 8 years ago

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

Bumbadawg commented 8 years ago

Alright! Thanks for the feedback.

Season's greetings :-)