KeyError: 'sig' #922

Closed
opened 2026-02-20 22:02:08 -05:00 by deekerman · 2 comments
Owner

Originally created by @dsr1001 on GitHub (Aug 3, 2013).

Dear youtube-dl developers,
could you, please, consider the following problem?
Thank you very much
Pavel


$ youtube-dl 'http://www.youtube.com/watch?feature=player_detailpage&v=o_v9MY_FMcw'
[youtube] Setting language
[youtube] o_v9MY_FMcw: Downloading video webpage
[youtube] o_v9MY_FMcw: Downloading video info webpage
[youtube] o_v9MY_FMcw: Extracting video information
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 4645, in
main()
File "/usr/bin/youtube-dl", line 4636, in main
_real_main()
File "/usr/bin/youtube-dl", line 4620, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 869, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 1135, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 1406, in _real_extract
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
File "/usr/bin/youtube-dl", line 1406, in
url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)
KeyError: 'sig'


$ youtube-dl --version
2012.02.27


$ python --version
Python 2.7.3


$ uname -srvmpio
Linux 3.2.0-51-generic #77-Ubuntu SMP Wed Jul 24 20:18:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Originally created by @dsr1001 on GitHub (Aug 3, 2013). Dear youtube-dl developers, could you, please, consider the following problem? Thank you very much Pavel --- $ youtube-dl 'http://www.youtube.com/watch?feature=player_detailpage&v=o_v9MY_FMcw' [youtube] Setting language [youtube] o_v9MY_FMcw: Downloading video webpage [youtube] o_v9MY_FMcw: Downloading video info webpage [youtube] o_v9MY_FMcw: Extracting video information Traceback (most recent call last): File "/usr/bin/youtube-dl", line 4645, in <module> main() File "/usr/bin/youtube-dl", line 4636, in main _real_main() File "/usr/bin/youtube-dl", line 4620, in _real_main retcode = fd.download(all_urls) File "/usr/bin/youtube-dl", line 869, in download ie.extract(url) File "/usr/bin/youtube-dl", line 1135, in extract return self._real_extract(url) File "/usr/bin/youtube-dl", line 1406, in _real_extract url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data) File "/usr/bin/youtube-dl", line 1406, in <genexpr> url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data) KeyError: 'sig' --- $ youtube-dl --version 2012.02.27 --- $ python --version Python 2.7.3 --- $ uname -srvmpio Linux 3.2.0-51-generic #77-Ubuntu SMP Wed Jul 24 20:18:19 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux ---
Author
Owner

@jaimeMF commented on GitHub (Aug 3, 2013):

You are running a really outdated version (it's one year old), this problem has been fixed in #897, run sudo youtube-dl -U to get the latest version. You should update regularly, since websites changes sometimes (specially Vevo videos in youtube). Thanks for the detailed report, specially the version (it allows to quickly detect issues that have already been fixed)

@jaimeMF commented on GitHub (Aug 3, 2013): You are running a really outdated version (it's one year old), this problem has been fixed in #897, run `sudo youtube-dl -U` to get the latest version. You should update regularly, since websites changes sometimes (specially Vevo videos in youtube). Thanks for the detailed report, specially the version (it allows to quickly detect issues that have already been fixed)
Author
Owner

@dsr1001 commented on GitHub (Aug 3, 2013):

Thank you for the advice. After running youtube-dl -U it works O.K.

I installed youtube-dl today using apt-get install youtube-dl in Ubuntu

so I expected Ubuntu installs the newest version. It does not.

Best regards from Prague

Pavel

---------- Původní zpráva ----------

Od: Jaime Marquínez Ferrándiz notifications@github.com

Datum: 3. 8. 2013

Předmět: Re: [youtube-dl] KeyError: 'sig' (#1175)

"

You are running a really outdated version (it's one year old), this problem
has been fixed in #897(https://github.com/rg3/youtube-dl/issues/897), run
sudo youtube-dl -U to get the latest version. You should update regularly,
since websites changes sometimes (specially Vevo videos in youtube). Thanks
for the detailed report, specially the version (it allows to quickly detect
issues that have already been fixed)

Reply to this email directly or view it on GitHub
(https://github.com/rg3/youtube-dl/issues/1175#issuecomment-22058198).

"

@dsr1001 commented on GitHub (Aug 3, 2013): Thank you for the advice. After running youtube-dl -U it works O.K. I installed youtube-dl today using apt-get install youtube-dl in Ubuntu so I expected Ubuntu installs the newest version. It does not. Best regards from Prague Pavel ---------- Původní zpráva ---------- Od: Jaime Marquínez Ferrándiz notifications@github.com Datum: 3. 8. 2013 Předmět: Re: [youtube-dl] KeyError: 'sig' (#1175) " You are running a really outdated version (it's one year old), this problem has been fixed in #897(https://github.com/rg3/youtube-dl/issues/897), run sudo youtube-dl -U to get the latest version. You should update regularly, since websites changes sometimes (specially Vevo videos in youtube). Thanks for the detailed report, specially the version (it allows to quickly detect issues that have already been fixed) — Reply to this email directly or view it on GitHub (https://github.com/rg3/youtube-dl/issues/1175#issuecomment-22058198). "
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#922
No description provided.