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: 'sig' #1175

Closed
dsr1001 opened this issue Aug 3, 2013 · 2 comments
Closed

KeyError: 'sig' #1175

dsr1001 opened this issue Aug 3, 2013 · 2 comments

Comments

@dsr1001
Copy link

@dsr1001 dsr1001 commented 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


@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented 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 jaimeMF closed this Aug 3, 2013
@dsr1001
Copy link
Author

@dsr1001 dsr1001 commented 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(#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
(#1175 (comment)).

"

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