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

Error downloading Vevo videos from YouTube with signature length 87 #1105

Closed
Baqan opened this issue Jul 23, 2013 · 7 comments
Closed

Error downloading Vevo videos from YouTube with signature length 87 #1105

Baqan opened this issue Jul 23, 2013 · 7 comments

Comments

@Baqan
Copy link

@Baqan Baqan commented Jul 23, 2013

Hi,

I have problems when I try to download Vevo videos from YouTube since minutes ago. Apparently, the problem is with Vevo videos with signature length 87 (maybe YouTube has changed the algorithm for this length again).

C:\yt-dl>youtube-dl.exe http://www.youtube.com/watch?v=j5-yKhDd64s
[youtube] Setting language
[youtube] j5-yKhDd64s: Downloading video webpage
[youtube] j5-yKhDd64s: Downloading video info webpage
[youtube] j5-yKhDd64s: Extracting video information
[youtube] j5-yKhDd64s: Encrypted signatures detected.
ERROR: unable to download video

I'll wait for news and feedback. Thank in advance for your hard work as always.

@patrickslin
Copy link
Contributor

@patrickslin patrickslin commented Jul 23, 2013

New sig len 87 decryption:

pairs:

CCBCCBA3EF12DBDB8D2171CAEFD982837D753D0E2124.8360597FF4F06BB24B62F2833836D1A3D3B3BC1A17
CBA3EF12DBDB8D2171C7EFD982837D753D0E2124.8360597FF4F06BB24B62F2833836D1A3D3B3BC1A

66E66EDD6CE3873DC8C72764C8F09CCD3AF72DED6F73.7123355ED401185F5AEEE59C61B1D4F25A9774C4C2
6EDD6CE3873DC8C72762C8F09CCD3AF72DED6F73.7123355ED401185F5AEEE59C61B1D4F25A9774C4

python:
s[4:23] + s[86] + s[24:85]

javascript:
s.slice(4, 23).join('') + s[86] + s.slice(24, 85).join('')

Gotta find a better algo to do this...

@patrickslin patrickslin mentioned this issue Jul 23, 2013
Closed
@Baqan
Copy link
Author

@Baqan Baqan commented Jul 24, 2013

@patrickslin Your algorithm for signature length 87 has been tested and it works. Big thank you! Good work!

@Baqan Baqan closed this Jul 24, 2013
@Baqan Baqan reopened this Jul 24, 2013
@mdmrcglu
Copy link

@mdmrcglu mdmrcglu commented Jul 24, 2013

When a new update is Python on Centos ? Thank you

@mdmrcglu
Copy link

@mdmrcglu mdmrcglu commented Jul 24, 2013

[root@0 ~]# youtube-dl --update
youtube-dl is up-to-date (2013.07.23.1)

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 24, 2013

Fixed by @patrickslin, thanks!

This was referenced Jul 24, 2013
@reyes99
Copy link

@reyes99 reyes99 commented Jul 24, 2013

Question, I updated youtube.py with the following changes

    elif len(s) == 87:
        return s[4:23] + s[86] + s[24:85]

I am not sure if this is all that I need to do but it's still not downloading my file??

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

[youtube] Setting language
[youtube] o0ME8VdjDMc: Downloading video webpage
[youtube] o0ME8VdjDMc: Downloading video info webpage
[youtube] o0ME8VdjDMc: Extracting video information
[youtube] o0ME8VdjDMc: Encrypted signatures detected.
ERROR: unable to download video

Thanks

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 25, 2013

@reyes99 a new version have been released, run sudo youtube-dl -U to update.

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