Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
KeyError Exception when retrieving Yahoo video #3043
Comments
|
Thanks for the report, fixed and will be available in the next release of |
|
Thank you for the report. This bug has been fixed in youtube-dl 2014.06.07. Type |
KeyError exception when retrieving http://news.yahoo.com/video/crisis-nigeria-120000691.html:
python -m youtube_dl --dump-json --skip-download -v http://news.yahoo.com/video/crisis-nigeria-120000691.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--dump-json', '--skip-download', '-v', 'http://news.yahoo.com/video/crisis-nigeria-120000691.html']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.02
[debug] Python version 2.7.5 - Darwin-13.2.0-x86_64-i386-64bit
[debug] Proxy map: {}
Traceback (most recent call last):
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 850, in main
_real_main(argv)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/init.py", line 840, 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 516, in extract_info
ie_result = ie.extract(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 163, in extract
return self._real_extract(url)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/yahoo.py", line 140, in _real_extract
return self._get_info(long_id, video_id)
File "/Users/jill/june/.virtualenv/lib/python2.7/site-packages/youtube_dl/extractor/yahoo.py", line 116, in _get_info
'thumbnail': meta['thumbnail'],
KeyError: u'thumbnail'