Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
ERROR: Unable to decrypt signature, key length 89 not supported #1232
Comments
|
You're using an outdated version of youtube-dl. Type
to update. |
|
Thank you very much. PS. what was the problem there? Why is that issue appeared only at US? For US Google gives video somehow different? |
|
YouTube added the signatures and is constantly switching around schemes for monetized videos (there are suggestion to how avoid this, but they haven't been integrated into youtube-dl yet). The choice which algorithm to use seems to depend on the internal version of the YouTube code as well as the specific cluster that serves the video, so most likely only the US location had the code and decided to use the 89 signature scheme, whereas the other ones either didn't have support for 89 or selected other schemes at random. |
youtube-dl --verbose http://www.youtube.com/watch?v=am9BqZ6eA5c
[debug] System config: ['--prefer-free-formats']
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=am9BqZ6eA5c']
[debug] youtube-dl version 2013.07.12
[debug] Python version 2.6.6 - Linux-2.6.<...SNIP...>-x86_64<...SNIP...>
[debug] Proxy map: {}
[youtube] Setting language
[youtube] am9BqZ6eA5c: Downloading video webpage
[youtube] am9BqZ6eA5c: Downloading video info webpage
[youtube] am9BqZ6eA5c: Extracting video information
[youtube] am9BqZ6eA5c: Encrypted signatures detected.
[youtube] encrypted signature length 89 (44.44), itag 44, html5 player vfl_wGgYV
ERROR: Unable to decrypt signature, key length 89 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 89 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.