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

Vevo sig changed again, please update for us! Thanks very much! #1328

Closed
mikeygao opened this issue Aug 27, 2013 · 16 comments
Closed

Vevo sig changed again, please update for us! Thanks very much! #1328

mikeygao opened this issue Aug 27, 2013 · 16 comments

Comments

@mikeygao
Copy link

@mikeygao mikeygao commented Aug 27, 2013

No description provided.

@phihag
Copy link
Contributor

@phihag phihag commented Aug 28, 2013

Why do you think so? Can you give an example URL and output with -v?

@RealDeviil
Copy link

@RealDeviil RealDeviil commented Aug 28, 2013

user@ubuntu:/$ sudo youtube-dl -f 18/5/17 -o '/home/user/public_html/youtubeTest/%(title)s-sd9f807sdf7.flv' -v --newline http://www.youtube.com/watch?v=w1oM3kQpXRo
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-f', '18/5/17', '-o', '/home/user/public_html/youtubeTest/%(title)s-sd9f807sdf7.flv', '-v', '--newline', 'http://www.youtube.com/watch?v=w1oM3kQpXRo']
[debug] youtube-dl version 2013.08.28
[debug] Python version 2.7.3 - Linux-3.2.0-49-generic-pae-i686-with-Ubuntu-12.04-precise
[debug] Proxy map: {}
[youtube] Setting language
[youtube] w1oM3kQpXRo: Downloading video webpage
[youtube] w1oM3kQpXRo: Downloading video info webpage
[youtube] w1oM3kQpXRo: Extracting video information
[youtube] w1oM3kQpXRo: Encrypted signatures detected.
[youtube] encrypted signature length 88 (47.40), itag 46, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 37, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 45, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 22, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 44, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 35, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 43, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 34, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 18, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 5, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 36, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 17, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 137, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 248, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 136, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 247, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 135, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 244, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 245, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 246, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 134, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 243, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 133, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 242, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 160, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 139, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 140, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 141, html5 player vflapUV9V
[youtube] encrypted signature length 86 (4.50.30), itag 171, html5 player vflapUV9V
[youtube] encrypted signature length 88 (47.40), itag 172, html5 player vflapUV9V
[download] Resuming download at byte 831661
ERROR: unable to download video
Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 560, in download
videos = self.extract_info(url)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 327, in extract_info
return self.process_ie_result(ie_result, download=download)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 410, in process_ie_result
for r in ie_result['entries']
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 357, in process_ie_result
self.process_info(ie_result)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 537, in process_info
raise UnavailableVideoError(err)
UnavailableVideoError: HTTP Error 403: Forbidden

@sdil87
Copy link

@sdil87 sdil87 commented Aug 28, 2013

Fix for 88 length:

    elif len(s) == 88:
        return s[7:28] + s[87] + s[29:45] + s[55] + s[46:55] + s[2] + s[56:87] + s[28]
@patrickslin
Copy link
Contributor

@patrickslin patrickslin commented Aug 28, 2013

Confirmed working. Thanks @RamHack.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 28, 2013

Fixed, thanks @RamHack for the algo.

@mikeygao
Copy link
Author

@mikeygao mikeygao commented Aug 28, 2013

Fixed confirmed! Thanks very much for your great job!

@phihag
Copy link
Contributor

@phihag phihag commented Aug 28, 2013

@youtubedlmessingupagain The fix has been integrated into youtube-dl - you'll get the same code when you update.

@phihag
Copy link
Contributor

@phihag phihag commented Aug 28, 2013

@youtubedlmessingupagain Sorry, my mistake. The fix has been integrated into git, but didn't make it into the release. You'll need v2013.08.28.1 or newer.

@phihag
Copy link
Contributor

@phihag phihag commented Aug 28, 2013

For the record: 2013.08.28.1 is now released and includes support for the new 88 signature scheme. Type sudo youtube-dl -U to update.

@andrewjswan
Copy link

@andrewjswan andrewjswan commented Aug 29, 2013

@phihag
On 2013.08.28.1 worked! 10x

@harveysm
Copy link

@harveysm harveysm commented Aug 29, 2013

I'm still getting the error above on version 2013.08.28.1. Output is below:

C:\YouTube>youtube-dl "http://www.youtube.com/watch?v=47dtFZ8CFo8" -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://www.youtube.com/watch?v=47dtFZ8CFo8', '-v']
[debug] youtube-dl version 2013.08.28.1
[debug] Python version 2.7.3 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 47dtFZ8CFo8: Downloading video webpage
[youtube] 47dtFZ8CFo8: Downloading video info webpage
[youtube] 47dtFZ8CFo8: Extracting video information
[youtube] 47dtFZ8CFo8: Encrypted signatures detected.
[youtube] encrypted signature length 86 (43.42), itag 46, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 37, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 45, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 22, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 44, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 35, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 43, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 34, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 18, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 5, html5 player vflg0g8PQ
[youtube] encrypted signature length 86 (43.42), itag 36, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 17, html5 player vflg0g8PQ

[youtube] encrypted signature length 86 (43.42), itag 137, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 248, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 136, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 247, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 135, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 244, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 245, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 246, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 134, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 243, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 133, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 242, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 160, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 139, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 140, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 141, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 171, html5 player vflg0g8P
Q
[youtube] encrypted signature length 86 (43.42), itag 172, html5 player vflg0g8P
Q
ERROR: unable to download video
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 573, in download
File "youtube_dl\YoutubeDL.pyo", line 339, in extract_info
File "youtube_dl\YoutubeDL.pyo", line 422, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 369, in process_ie_result
File "youtube_dl\YoutubeDL.pyo", line 550, in process_info
UnavailableVideoError: HTTP Error 403: Forbidden

Thanks!

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Aug 29, 2013

@harveysm See #1328, they have changed it again, it's fixed in the repository but there's not a new version yet.

@harveysm
Copy link

@harveysm harveysm commented Aug 29, 2013

Sorry, kind of new at this - so I can I update it myself, or do I have to wait for an official release?

Thanks again!

@harveysm
Copy link

@harveysm harveysm commented Aug 29, 2013

Working now - thanks a bunch!

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