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

metacafe and cbs support #1977

Closed
menachemshapiro opened this issue Dec 15, 2013 · 1 comment
Closed

metacafe and cbs support #1977

menachemshapiro opened this issue Dec 15, 2013 · 1 comment

Comments

@menachemshapiro
Copy link

@menachemshapiro menachemshapiro commented Dec 15, 2013

A recent commit added support for CBS videos in metacafe: b9a2c53

Does this make it easy to add support for vidoes directly on the CBS website?

Here is an example of a video that works on metacafe and doesn't work on the CBS website (I couldn't find a file on CBS.com that works out of the US):

------------
youtube-dl -v http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/
------------
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/']
[debug] youtube-dl version 2013.12.11.2
[debug] Python version 2.7.1+ - Linux-2.6.38-16-generic-i686-with-Ubuntu-11.04-natty
[debug] Proxy map: {}
WARNING: Falling back on generic information extractor.
[generic] : Downloading webpage
[generic] : Extracting information
ERROR: Unsupported URL: http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 471, in extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 134, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/generic.py", line 254, in _real_extract
    raise ExtractorError(u'Unsupported URL: %s' % url)
ExtractorError: Unsupported URL: http://www.cbs.com/shows/garth-brooks/video/_u7W953k6la293J7EPTd9oHkSPs6Xn6_/connect-chat-feat-garth-brooks/; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
------------ 

Here's the same video on metacafe:

----------
youtube-dl -v http://www.metacafe.com/watch/cb-4JUVEwq3wUT7/connect_chat_feat_garth_brooks/
----------
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.metacafe.com/watch/cb-4JUVEwq3wUT7/connect_chat_feat_garth_brooks/']
[debug] youtube-dl version 2013.12.11.2
[debug] Python version 2.7.1+ - Linux-2.6.38-16-generic-i686-with-Ubuntu-11.04-natty
[debug] Proxy map: {}
[metacafe] Retrieving disclaimer
[metacafe] Confirming age
[ThePlatform] 4JUVEwq3wUT7: Downloading XML
[ThePlatform] 4JUVEwq3wUT7: Downloading webpage
[download] Destination: Connect Chat feat. Garth Brooks-4JUVEwq3wUT7.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmp://cp48590.edgefcs.net/ondemand/?auth=daEdmaKbAdacOayaIarczaxc0a4c_bYdMbn-bsRExS-h0-G9CNiXjf&aifp=v001&slist=video/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2013/11/27/74862147773/' -o 'Connect Chat feat. Garth Brooks-4JUVEwq3wUT7.flv.part' --playpath mp4:video/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2013/11/27/74862147773/112713_GBrooks_1296.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
[rtmpdump] (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 0
....
----------
@phihag
Copy link
Contributor

@phihag phihag commented Dec 16, 2013

Thanks for the report. Support for CBS (using the same infrastructure) has been added as of youtube-dl 2013.12.16.

@phihag phihag closed this in fa3ae23 Dec 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.