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 with collegehumor.com videos #2277

Closed
khoyt opened this issue Jan 30, 2014 · 3 comments
Closed

KeyError with collegehumor.com videos #2277

khoyt opened this issue Jan 30, 2014 · 3 comments

Comments

@khoyt
Copy link

@khoyt khoyt commented Jan 30, 2014

When I try to download the following URLs I keep getting 'KeyError' error messages. I assume this affects all CollegeHumor videos. Verbose below:

collegehumor.com/video/5812266

youtube-dl.exe http://www.collegehumor.com/video/5812266 --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.collegehumor.com/video/5812266', '--verbose'] [debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp437', pref: 'cp1252' [debug] youtube-dl version 2014.01.30.1 [debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1 [debug] Proxy map: {} [CollegeHumor] 5812266: Downloading info JSON Traceback (most recent call last): File "__main__.py", line 18, in <module> File "youtube_dl\__init__.pyo", line 783, in main File "youtube_dl\__init__.pyo", line 773, in _real_main File "youtube_dl\YoutubeDL.pyo", line 982, in download File "youtube_dl\YoutubeDL.pyo", line 493, in extract_info File "youtube_dl\extractor\common.pyo", line 158, in extract File "youtube_dl\extractor\collegehumor.pyo", line 52, in _real_extract KeyError: u'webm'

collegehumor.com/embed/6950457/8-dogs-protecting-babies-like-the-magnificent-beasts-they-are-compilation

youtube-dl.exe http://www.collegehumor.com/embed/6950457/8-dogs- protecting-babies-like-the-magnificent-beasts-they-are-compilation --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['http://www.collegehumor.com/embed/6950457/8-dogs- protecting-babies-like-the-magnificent-beasts-they-are-compilation', '--verbose'] [debug] Encodings: locale 'cp1252', fs 'mbcs', out 'cp437', pref: 'cp1252' [debug] youtube-dl version 2014.01.30.1 [debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1 [debug] Proxy map: {} [CollegeHumor] 6950457: Downloading info JSON Traceback (most recent call last): File "__main__.py", line 18, in <module> File "youtube_dl\__init__.pyo", line 783, in main File "youtube_dl\__init__.pyo", line 773, in _real_main File "youtube_dl\YoutubeDL.pyo", line 982, in download File "youtube_dl\YoutubeDL.pyo", line 493, in extract_info File "youtube_dl\extractor\common.pyo", line 158, in extract File "youtube_dl\extractor\collegehumor.pyo", line 52, in _real_extract KeyError: u'mp4'

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jan 30, 2014

Fixed, thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Jan 30, 2014

You can now type youtube-dl -U to update to version 2014.01.30.2 or newer, where this problem has been fixed.

@khoyt
Copy link
Author

@khoyt khoyt commented Jan 30, 2014

Works great, 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.