Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385007 - net-misc/youtube-dl-2011.08.04 - version bump to 2011.09.27 please - some downloads broken
Summary: net-misc/youtube-dl-2011.08.04 - version bump to 2011.09.27 please - some dow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ricardo Mendoza (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 23:14 UTC by Joe Stroller
Modified: 2011-10-07 17:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Stroller 2011-09-29 23:14:24 UTC
YouTube seem to have recently changed the layout of their pages, thus some downloads no longer work:

$ youtube-dl http://www.youtube.com/watch?v=BwDlobymMk0
[youtube] Setting language
[youtube] BwDlobymMk0: Downloading video webpage
[youtube] BwDlobymMk0: Downloading video info webpage
[youtube] BwDlobymMk0: Extracting video information
Traceback (most recent call last):
  File "/usr/bin/youtube-dl", line 2987, in <module>
    retcode = fd.download(all_urls)
  File "/usr/bin/youtube-dl", line 604, in download
    ie.extract(url)
  File "/usr/bin/youtube-dl", line 844, in extract
    return self._real_extract(url)
  File "/usr/bin/youtube-dl", line 1085, in _real_extract
    url_map = dict((ud['itag'], urllib.unquote(ud['url'])) for ud in url_data)
  File "/usr/bin/youtube-dl", line 1085, in <genexpr>
    url_map = dict((ud['itag'], urllib.unquote(ud['url'])) for ud in url_data)
KeyError: 'url'
$ 

This is resolved by using the latest version of youtube-dl, 2011.09.27.

Reproducible: Always
Comment 1 Zac Medico gentoo-dev 2011-10-07 17:18:31 UTC
2011.09.30 is in cvs now (bug 385187).