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

[youtube] Signature extraction failed #7900

Closed
RfzVd opened this issue Dec 18, 2015 · 1 comment
Closed

[youtube] Signature extraction failed #7900

RfzVd opened this issue Dec 18, 2015 · 1 comment

Comments

@RfzVd
Copy link

@RfzVd RfzVd commented Dec 18, 2015

Output from youtube-dl --verbose vuQ9_jZ0Kf0 with version 2015.12.13

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'vuQ9_jZ0Kf0']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2015.12.13
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.9
[debug] exe versions: avconv 0.8.17-6, avprobe 0.8.17-6, ffmpeg 0.8.17-6, ffprobe 0.8.17-6
[debug] Proxy map: {}
[youtube] vuQ9_jZ0Kf0: Downloading webpage
[youtube] vuQ9_jZ0Kf0: Downloading video info webpage
[youtube] vuQ9_jZ0Kf0: Extracting video information
[youtube] {22} signature length 43.43, html5 player en_US-vflXJM_5_
[youtube] vuQ9_jZ0Kf0: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflXJM_5_/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/home/user/bin/youtube-dl/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Could not find JS function u'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/home/user/bin/youtube-dl/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/home/user/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 663, in extract_info
ie_result = ie.extract(url)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1431, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 887, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/user/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/home/user/bin/youtube-dl/youtube_dl/jsinterp.py", line 241, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Could not find JS function u'gr'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

@dstftw dstftw closed this in b95779b Dec 18, 2015
@phihag
Copy link
Contributor

@phihag phihag commented Dec 18, 2015

Thank you for the report. I believe this issue to be fixed in the current version of youtube-dl, 2015.12.18. See our FAQ if you need help updating.

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