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

Ustream extractor does not recognize URLs of the form www.ustream.tv/embed/recorded/<ID> #2990

Closed
jillh510 opened this issue May 27, 2014 · 1 comment

Comments

@jillh510
Copy link

@jillh510 jillh510 commented May 27, 2014

The ustream extractor looks for URLs with either 'embed' or 'recorded', but Ustream allows sites to embed with URLs of this form:
http://www.ustream.tv/embed/recorded/44195705

An example is at http://inside.twit.tv/blog/2014/5/14/ustream-goes-behind-the-scenes-at-twit.html, which gives this result from youtube_dl:

python -m youtube_dl --skip-download --write-info-json -v http://inside.twit.tv/blog/2014/5/14/ustream-goes-behind-the-scenes-at-twit.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--skip-download', '--write-info-json', '-v', 'http://inside.twit.tv/blog/2014/5/14/ustream-goes-behind-the-scenes-at-twit.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.05.13
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
[generic] ustream-goes-behind-the-scenes-at-twit: Requesting header
WARNING: Falling back on generic information extractor.
[generic] ustream-goes-behind-the-scenes-at-twit: Downloading webpage
[generic] ustream-goes-behind-the-scenes-at-twit: Extracting information
ERROR: no suitable InfoExtractor for URL http://www.ustream.tv/embed/recorded/44195705?v=3&amp;wmode=direct#to13:09
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/main.py", line 18, in
youtube_dl.main()
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/init.py", line 849, in main
_real_main(argv)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/init.py", line 839, in _real_main
retcode = ydl.download(all_urls)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 1039, in download
self.extract_info(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 527, in extract_info
return self.process_ie_result(ie_result, download, extra_info)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 571, in process_ie_result
extra_info=extra_info)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 542, in extract_info
self.report_error('no suitable InfoExtractor for URL %s' % url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 405, in report_error
self.trouble(error_message, tb)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 367, in trouble
tb_data = traceback.format_list(traceback.extract_stack())

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 29, 2014

Thanks for the report. Support for this kind of ustream URLs has been added and will be available in the next release of youtube-dl.

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.