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

KeyError: u'streams' in [npo.nl] domain #3782

Closed
rutgervanwilligen opened this issue Sep 17, 2014 · 4 comments
Closed

KeyError: u'streams' in [npo.nl] domain #3782

rutgervanwilligen opened this issue Sep 17, 2014 · 4 comments

Comments

@rutgervanwilligen
Copy link

@rutgervanwilligen rutgervanwilligen commented Sep 17, 2014

This error occurs on some of the [npo.nl] domain videos, others are working fine. It seems to be happening to older video's rather than new ones, but I haven't found evidence for this claim.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.npo.nl/de-mega-mike-mega-thomas-show/27-02-2009/VARA_101191800', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.16
[debug] Python version 2.7.8 - Darwin-13.3.0-x86_64-i386-64bit
[debug] Proxy map: {}
[npo.nl] VARA_101191800: Downloading JSON metadata
[npo.nl] VARA_101191800: Downloading token
[npo.nl] VARA_101191800: Downloading h264_bb streams info
[npo.nl] VARA_101191800: Downloading h264_bb stream info
[npo.nl] VARA_101191800: Downloading h264_sb streams info
[npo.nl] VARA_101191800: Downloading h264_sb stream info
[npo.nl] VARA_101191800: Downloading wmv_bb streams info
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 428, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 418, in _real_main
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1066, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 178, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/npo.py", line 52, in _real_extract
KeyError: u'streams'

@nehrwert
Copy link

@nehrwert nehrwert commented Sep 17, 2014

just for reference another log for [npo.nl] with the same error rutgervanwilligen had.

youtube-dl --verbose "http://www.npo.nl/tegenlicht/25-02-2013/VPWON_1169289"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.npo.nl/tegenlicht/25-02-2013/VPWON_1169289']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.09.16.1
[debug] Python version 2.7.3 - Linux-3.2.0-68-generic-x86_64-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[npo.nl] VPWON_1169289: Downloading JSON metadata
[npo.nl] VPWON_1169289: Downloading token
[npo.nl] VPWON_1169289: Downloading adaptive streams info
[npo.nl] VPWON_1169289: Downloading adaptive stream info
[npo.nl] VPWON_1169289: Downloading webpage
[npo.nl] VPWON_1169289: Downloading h264_bb streams info
[npo.nl] VPWON_1169289: Downloading h264_bb stream info
[npo.nl] VPWON_1169289: Downloading h264_sb streams info
[npo.nl] VPWON_1169289: Downloading h264_sb stream info
[npo.nl] VPWON_1169289: Downloading h264_std streams info
[npo.nl] VPWON_1169289: Downloading h264_std stream info
[npo.nl] VPWON_1169289: Downloading wmv_bb streams info
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in run_module_as_main
"_main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in run_code
exec code in run_globals
File "/usr/bin/youtube-dl/_main.py", line 18, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 429, in main
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 419, in _real_main
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1066, in download
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 524, in extract_info
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 178, in extract
File "/usr/bin/youtube-dl/youtube_dl/extractor/npo.py", line 52, in _real_extract
KeyError: u'streams'

@dstftw dstftw closed this in 944a3de Sep 17, 2014
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 17, 2014

Thanks for the report, fixed and will be available in the next release youtube-dl.

@rutgervanwilligen
Copy link
Author

@rutgervanwilligen rutgervanwilligen commented Sep 17, 2014

Thanks for the quick response and fix!

On 17 Sep 2014, at 14:04, Sergey M. notifications@github.com wrote:

Thanks for the report, fixed and will be available in the next release youtube-dl.


Reply to this email directly or view it on GitHub.

@phihag
Copy link
Contributor

@phihag phihag commented Sep 24, 2014

Fixed in youtube-dl 2014.09.24. Type sudo youtube-dl -U to update.

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
4 participants
You can’t perform that action at this time.