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

signature length 90 #1064

Closed
dcm- opened this issue Jul 17, 2013 · 7 comments
Closed

signature length 90 #1064

dcm- opened this issue Jul 17, 2013 · 7 comments
Assignees

Comments

@dcm-
Copy link

dcm- commented Jul 17, 2013

Hi guys, i'm getting the following error on video http://youtu.be/bnVUHWCynig:

$ youtube-dl --verbose http://youtu.be/bnVUHWCynig
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://youtu.be/bnVUHWCynig']
[debug] youtube-dl version 2013.07.12
[debug] Python version 2.7.4 - Linux-3.8.0-26-generic-i686-with-Ubuntu-13.04-raring
[debug] Proxy map: {}
[youtube] Setting language
[youtube] bnVUHWCynig: Downloading video webpage
[youtube] bnVUHWCynig: Downloading video info webpage
[youtube] bnVUHWCynig: Extracting video information
[youtube] bnVUHWCynig: Encrypted signatures detected.
[youtube] encrypted signature length 90 (77.5), itag 44, html5 player vflQw-fB4
ERROR: Unable to decrypt signature, key length 90 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 312, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 95, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 594, in _real_extract
signature = self._decrypt_signature(url_data['s'][0])
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 200, in _decrypt_signature
raise ExtractorError(u'Unable to decrypt signature, key length %d not supported; retrying might work' % (len(s)))
ExtractorError: Unable to decrypt signature, key length 90 not supported; retrying might work; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output.

@jaimeMF
Copy link
Collaborator

jaimeMF commented Jul 17, 2013

Duplicate of #1060

@jaimeMF jaimeMF closed this as completed Jul 17, 2013
@phihag
Copy link
Contributor

phihag commented Jul 17, 2013

Not a duplicate - #1060 deals with length 92.

@phihag phihag reopened this Jul 17, 2013
@jaimeMF
Copy link
Collaborator

jaimeMF commented Jul 17, 2013

Ok, sorry.
For me it's using length 92, maybe is just one of that strange lengths that Youtube gives sometimes.
I will try to reproduce

@Baqan
Copy link

Baqan commented Jul 18, 2013

Dear @phihag @jaimeMF, there is no solution for signature length 90 yet? Thanks in advance for your hard work as always ;)

@ghost ghost assigned jaimeMF Jul 18, 2013
@jaimeMF
Copy link
Collaborator

jaimeMF commented Jul 18, 2013

I've added an algo for length 90.
Like in #1026: since there's no way to reproduce it, the fix may fail if you try to download the format that has this length. All the keys I've found are correctly decrypted. At least the extraction won't stop.

@phihag
Copy link
Contributor

phihag commented Jul 18, 2013

Type

sudo youtube-dl -U

to update to 2013.07.18, which contains support for 90 signatures.

@Baqan
Copy link

Baqan commented Jul 19, 2013

Thank for the fix. Good work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants