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
132.38k stars 10.04k forks source link

Live Stream Support for MTV, Comedy Central, Discovery [Request] #16719

Open MediaJunkie1 opened 6 years ago

MediaJunkie1 commented 6 years ago

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.06.11. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

Before submitting an issue make sure you have:

What is the purpose of your issue?


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

Microsoft Windows [Version 10.0.17134.112]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\Me>c:/youtubedl/youtubedl.exe -v http://www.cc.com/live-tv
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'http://www.cc.com/live-tv']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252

[debug] Command-line args: ['-v', 'http://www.cc.com/live-tv']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.06.11
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.17134
[debug] exe versions: none
[debug] Proxy map: {}
[generic] live-tv: Requesting header
WARNING: Falling back on generic information extractor.
[generic] live-tv: Downloading webpage
[generic] live-tv: Extracting information
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'http://www.cc.com/live-tv'
[download] You're Watching Comedy Central-live-tv.unknown_video has already been downloaded
[download] 100% of 35.97KiB

C:\Users\Me>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

http://www.mtv.com/live-tv http://www.cc.com/live-tv https://www.discovery.com/watch/discovery

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.


Description of your issue, suggested solution and other information

MTV, Comedy Central, ABC and many other plugins seem not to support live stream functionality despite youtube-dl adobe pass script. By monitoring the connections made with plugins such as Comedy Central, I can see that the process to get a VOD url and live stream URL are very similiar, if not identical.

In addition to this being useful for Comedy Central, MTV, ABC.... there are numerous other TV networks who use the exact same configuration. This means that one script could be written and it be applied to many other plugins, simply by substituting the other networks urls. Unfortunately my knowledge is limited.

Currently, when inputting live tv pages for these channels, it appears that youtube-dl simply downloads the webpage.

Note** I believe MTV and Comedy Central both have 10 minute free previews. I get the same result when invoking adobe pass with credentials, or without.

MediaJunkie1 commented 6 years ago

Is there anything I can do which may be of helping getting this going?