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

Unable to download some video with signature length 86 #945

Closed
huchengtw-moz opened this issue Jun 27, 2013 · 7 comments
Closed

Unable to download some video with signature length 86 #945

huchengtw-moz opened this issue Jun 27, 2013 · 7 comments

Comments

@huchengtw-moz
Copy link

@huchengtw-moz huchengtw-moz commented Jun 27, 2013

example:
youtube-dl -f 18 http://www.youtube.com/watch\?v\=wq7ftOZBy0E

The server returns 403 error.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 27, 2013

Please post the output when running youtube-dl -f 18 http://www.youtube.com/watch\?v\=wq7ftOZBy0E -v

@huchengtw-moz
Copy link
Author

@huchengtw-moz huchengtw-moz commented Jun 27, 2013

ERROR: unable to download video
Traceback (most recent call last):
File "/Users/hchu/Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 566, in download
videos = self.extract_info(url)
File "/Users/hchu/Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 319, in extract_info
return self.process_ie_result(ie_result, download=download)
File "/Users/hchu/Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 401, in process_ie_result
for r in ie_result['entries']
File "/Users/hchu/Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 348, in process_ie_result
self.process_info(ie_result)
File "/Users/hchu/Downloads/youtube-dl/youtube_dl/YoutubeDL.py", line 543, in process_info
raise UnavailableVideoError()
UnavailableVideoError

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 27, 2013

The whole output please (to know if it says something about signatures length)

@huchengtw-moz
Copy link
Author

@huchengtw-moz huchengtw-moz commented Jun 27, 2013

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', '-f', '18', 'http://www.youtube.com/watch?v=wq7ftOZBy0E']
[debug] youtube-dl version 2013.06.33
[debug] Python version 2.7.2 - Darwin-12.4.0-x86_64-i386-64bit
[debug] Proxy map: {}
[youtube] Setting language
[youtube] wq7ftOZBy0E: Downloading video webpage
[youtube] wq7ftOZBy0E: Downloading video info webpage
[youtube] wq7ftOZBy0E: Extracting video information
[youtube] wq7ftOZBy0E: Encrypted signatures detected.
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 84
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
[youtube] encrypted signature length 86
ERROR: unable to download video
Traceback (most recent call last):
File "/Users/hchu/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 567, in download
videos = self.extract_info(url)
File "/Users/hchu/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 320, in extract_info
return self.process_ie_result(ie_result, download=download)
File "/Users/hchu/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 402, in process_ie_result
for r in ie_result['entries']
File "/Users/hchu/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 349, in process_ie_result
self.process_info(ie_result)
File "/Users/hchu/Downloads/youtube-dl-master/youtube_dl/YoutubeDL.py", line 544, in process_info
raise UnavailableVideoError()
UnavailableVideoError

@huchengtw-moz
Copy link
Author

@huchengtw-moz huchengtw-moz commented Jun 27, 2013

I use the latest version which is just downloaded from source.

@huchengtw-moz
Copy link
Author

@huchengtw-moz huchengtw-moz commented Jun 27, 2013

Basically, I had found it broken this morning(in +0800 tz). And I update my source code to latest version. There is a patch on signature decryption from 82 to 88. Some of youtube videos worked, but only this one failed.

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 27, 2013

duplicate of #946

See there, I've fixed in HEAD, I'll release soon.

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