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

New YouTube signature #952

Closed
astral2k5 opened this issue Jun 27, 2013 · 11 comments
Closed

New YouTube signature #952

astral2k5 opened this issue Jun 27, 2013 · 11 comments

Comments

@astral2k5
Copy link

@astral2k5 astral2k5 commented Jun 27, 2013

Hi,

Just came across this video and it has length for some of the videos of 97 (MP4 videos):

http://www.youtube.com/watch?v=QeWBS0JBNzQ

If tried to check this link for 3-4 times, the last time all signatures were 86.

YouTube gets really strange these days...

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 27, 2013

SIGH

I can't reproduce it, could you run with --verbose and hand me the output when/if you get the 97?

@astral2k5
Copy link
Author

@astral2k5 astral2k5 commented Jun 27, 2013

It's really random :( now I can't reproduce it either. I'll post the info when it breaks again :)

@yasoob
Copy link
Contributor

@yasoob yasoob commented Jun 27, 2013

this issue is resolved @astral2k5 you can close this issue now and feel free to open a new one if it breaks again.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 27, 2013

In this case I'd prefer to keep it open, at least to remember us that 97
s's exist. Hoping for a log.

Filippo Valsorda

@yasoob
Copy link
Contributor

@yasoob yasoob commented Jun 27, 2013

hmm you are right @FiloSottile . I would have helped you guys with youtube as well but unfortunately it is blocked in Pakistan :( and by using VPN i wont be able to make an IE .

@drewm27
Copy link

@drewm27 drewm27 commented Jun 28, 2013

I may have found another one that's broken: http://www.youtube.com/watch?v=DRSRpXPZVdM

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-t', 'http://www.youtube.com/watch?v=DRSRpXPZVdM']
[debug] youtube-dl version 2013.06.26
[debug] Python version 2.7.3 - Linux-3.8.13-100.fc17.i686-i686-with-fedora-17-Beefy_Miracle
[debug] Proxy map: {}
[youtube] Setting language
[youtube] DRSRpXPZVdM: Downloading video webpage
[youtube] DRSRpXPZVdM: Downloading video info webpage
[youtube] DRSRpXPZVdM: Extracting video information
[youtube] DRSRpXPZVdM: Vevo video detected.
ERROR: Unable to decrypt signature, subkeys lengths not valid; please report this issue on GitHub.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 556, in _real_main
cwd=os.path.dirname(os.path.abspath(file)))
File "/usr/lib/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 20] Not a directory: '/usr/local/bin/youtube-dl/youtube_dl'
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/FileDownloader.py", line 460, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 91, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 508, in _real_extract
signature = self._decrypt_signature(url_data['s'][0])
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 137, in _decrypt_signature
raise ExtractorError(u'Unable to decrypt signature, subkeys lengths not valid')
ExtractorError: Unable to decrypt signature, subkeys lengths not valid; please report this issue on GitHub.

@phihag
Copy link
Contributor

@phihag phihag commented Jun 28, 2013

@drewm27 You're using an outdated version of youtube-dl, and therefore your issue is unrelated to this one. Type

youtube-dl -U

to update.

@astral2k5
Copy link
Author

@astral2k5 astral2k5 commented Jul 11, 2013

The download doesn't work again. Seems there is a change for the signature encryption, same length 83 (sometimes there is 81 too) :

http://www.youtube.com/watch?v=HBxt_v0WF6Y

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=HBxt_v0WF6Y']
[debug] youtube-dl version 2013.07.10
[debug] Python version 2.7.3 - Windows-post2008Server-6.2.9200
[debug] Proxy map: {}
[youtube] Setting language
[youtube] HBxt_v0WF6Y: Downloading video webpage
[youtube] HBxt_v0WF6Y: Downloading video info webpage
[youtube] HBxt_v0WF6Y: Extracting video information
[youtube] HBxt_v0WF6Y: Encrypted signatures detected.
[youtube] encrypted signature length 83 (42.40), itag 46, html5 player vflcaqGO8
[youtube] encrypted signature length 83 (42.40), itag 37, html5 player vflcaqGO8
[youtube] encrypted signature length 83 (42.40), itag 45, html5 player vflcaqGO8
[youtube] encrypted signature length 83 (42.40), itag 22, html5 player vflcaqGO8
[youtube] encrypted signature length 83 (42.40), itag 44, html5 player vflcaqGO8
[youtube] encrypted signature length 81 (40.40), itag 35, html5 player vflcaqGO8
ERROR: Unable to decrypt signature, key length 81 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 "youtube_dl\YoutubeDL.pyo", line 312, in extract_info
File "youtube_dl\extractor\common.pyo", line 95, in extract
File "youtube_dl\extractor\youtube.pyo", line 590, in _real_extract
File "youtube_dl\extractor\youtube.pyo", line 198, in _decrypt_signature
ExtractorError: Unable to decrypt signature, key length 81 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 jaimeMF commented Jul 11, 2013

@astral2k5 fixed in 85347e1, thanks for the report

@astral2k5
Copy link
Author

@astral2k5 astral2k5 commented Jul 11, 2013

wow, you are fast! thanks!

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Oct 6, 2013

The new automatic signature handling added in #1481 should solve this kind of issues, if anyone finds any problem, please open a new issue.

@jaimeMF jaimeMF closed this Oct 6, 2013
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
6 participants
You can’t perform that action at this time.