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

Signature extraction failed (version 2014.10.27) #4226

Closed
simonhopkin opened this issue Nov 17, 2014 · 1 comment
Closed

Signature extraction failed (version 2014.10.27) #4226

simonhopkin opened this issue Nov 17, 2014 · 1 comment

Comments

@simonhopkin
Copy link

@simonhopkin simonhopkin commented Nov 17, 2014

I'm seeing this error when trying to download some videos:-

youtube-dl --verbose "http://www.youtube.com/watch?v=fWtHI5IIamc"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'http://www.youtube.com/watch?v=fWtHI5IIamc']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.10.27
[debug] Python version 2.7.3 - Linux-3.2.0-37-generic-x86_64-with-Ubuntu-12.04-precise
[debug] exe versions: avconv 0.8.10-4, avprobe 0.8.10-4, ffmpeg 0.8.10-4, ffprobe 0.8.10-4
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] fWtHI5IIamc: Downloading webpage
[youtube] fWtHI5IIamc: Downloading video info webpage
[youtube] fWtHI5IIamc: Extracting video information
[youtube] fWtHI5IIamc: Encrypted signatures detected.
[youtube] {18} signature length 40.42, html5 player en_US-vflM7pYrM
[youtube] fWtHI5IIamc: Downloading js player vflM7pYrM
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 534, in _decrypt_signature
video_id, player_url, s
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 448, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 509, in _parse_sig_js
'Initial JS player signature function name')
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/common.py", line 431, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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. Make sure you are using the latest version; type youtube-dl -U to update.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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. Make sure you are using the latest version; type youtube-dl -U to update.',)); 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. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 534, in _decrypt_signature
video_id, player_url, s
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 448, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 509, in _parse_sig_js
'Initial JS player signature function name')
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/common.py", line 431, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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. Make sure you are using the latest version; type youtube-dl -U to update.
Traceback (most recent call last):
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 529, in extract_info
ie_result = ie.extract(url)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/common.py", line 197, in extract
return self._real_extract(url)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 929, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 544, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 534, in _decrypt_signature
video_id, player_url, s
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 448, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 509, in _parse_sig_js
'Initial JS player signature function name')
File "/home/scripts/youtube/bin/youtube-dl/youtube_dl/extractor/common.py", line 431, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract Initial JS player signature function name; 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. Make sure you are using the latest version; type youtube-dl -U to update.
(caused by RegexNotFoundError(u'Unable to extract \x1b[0;34mInitial JS player signature function name\x1b[0m; 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. Make sure you are using the latest version; type youtube-dl -U to update.',)); 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. Make sure you are using the latest version; type youtube-dl -U to update.

@simonhopkin
Copy link
Author

@simonhopkin simonhopkin commented Nov 17, 2014

Sorry I'm using an old version

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