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

[YouTube] youtube-dl terminates/crashes with KeyError: u'preference' #4648

Closed
TheBoroer opened this issue Jan 5, 2015 · 2 comments
Closed

[YouTube] youtube-dl terminates/crashes with KeyError: u'preference' #4648

TheBoroer opened this issue Jan 5, 2015 · 2 comments
Labels
bug

Comments

@TheBoroer
Copy link

@TheBoroer TheBoroer commented Jan 5, 2015

See below.

YouTube URL has this issue: http://www.youtube.com/watch?v=qy2Z2mhIkQ8
Command I ran: ./youtube-dl -g -s http://www.youtube.com/watch?v=qy2Z2mhIkQ8 --verbose

Output:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-g', '-s', 'http://www.youtube.com/watch?v=qy2Z2mhIkQ8', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.01.05
[debug] Python version 2.6.6 - Linux-3.10.23-xxxx-std-ipv6-64-x86_64-with-centos-6.5-Final
[debug] exe versions: ffmpeg 0.6.5, ffprobe 0.6.5
[debug] Proxy map: {}
Traceback (most recent call last):
  File "/usr/lib64/python2.6/runpy.py", line 122, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib64/python2.6/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "./youtube-link/__main__.py", line 19, in <module>
  File "./youtube-link/youtube_dl/__init__.py", line 361, in main
  File "./youtube-link/youtube_dl/__init__.py", line 351, in _real_main
  File "./youtube-link/youtube_dl/YoutubeDL.py", line 1165, in download
  File "./youtube-link/youtube_dl/YoutubeDL.py", line 592, in extract_info
  File "./youtube-link/youtube_dl/extractor/common.py", line 245, in extract
  File "./youtube-link/youtube_dl/extractor/youtube.py", line 1049, in _real_extract
KeyError: u'preference'
@jaimeMF jaimeMF added the bug label Jan 5, 2015
@phihag phihag closed this in ee61f6f Jan 5, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Jan 5, 2015

Thank you for the report. I believe this bug to be fixed in youtube-dl 2015.01.05.1. See our FAQ if you need help updating.

@TheBoroer
Copy link
Author

@TheBoroer TheBoroer commented Jan 5, 2015

Great! I've updated and can confirm it's fixed! Thanks!

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