ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
130.3k stars 9.83k forks source link

Support for Discoverymax #6707

Open BostAxola opened 8 years ago

BostAxola commented 8 years ago

Hi, I would like to ask you to add support for: www.discoverymax.marca.com.

The web offers the videos in a Brightcove playlist, and it works like this: There is a playlist url and each video has it's unique id ( i.e. #4383897233001).

captura

If you type the id at the end of the playlist you go to the video itself, but if you try downloading it with youtube-dl, you always get the first video of the playlist no matter what video's url you pass.

youtube-dl.exe -v http://www.discoverymax.marca.com/series/otros/la-fiebre-del-oro/episodios-completos/#4246353904001

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.discoverymax.marca.com/series/otros/la-fiebre-del-oro/episodios-completos/#4246353904001']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.08.28
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71816-g02001ad, ffprobe N-71816-g02001ad
[debug] Proxy map: {}
[generic] #4246353904001: Requesting header
WARNING: Falling back on generic information extractor.
[generic] #4246353904001: Downloading webpage
[generic] #4246353904001: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: La fiebre del oro | Discovery MAX
[generic] playlist La fiebre del oro | Discovery MAX: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[Brightcove] 4383781458001: Downloading webpage
[Brightcove] 4383781458001: Extracting information
[debug] Invoking downloader on u'http://discoveryint1.edgeboss.net/download/discoveryint1/byocdn/media/1378939881/201507/1387/1378939881_4383964414001_EHD-121135B-DMAX-SPAIN.mp4'
[download] Destination: La fiebre del oro - Cientos de onzas-4383781458001.mp4
[download] 100% of 563.58MiB in 04:42

Note that the requested video was 4246353904001 and the downloaded video was 4383781458001 instead.

Thank you.

wallebot commented 8 years ago

I am insterested in this very good documentarys. Thanks for suggest.

BostAxola commented 8 years ago

I've been doing some digging, and came across with https://pluginu.com/dni_carrington_build_modules/, these pages use the same module, or so I think, that the requested page.

Some of them already have an extractor such as Tlc.de. I'll try to replicate the code.