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

ExtractorError: Could not find JS function u'Go.sH' #3357

Closed
ghost opened this issue Jul 25, 2014 · 4 comments
Closed

ExtractorError: Could not find JS function u'Go.sH' #3357

ghost opened this issue Jul 25, 2014 · 4 comments

Comments

@ghost
Copy link

@ghost ghost commented Jul 25, 2014

I just began to use Youtube-dl, and after one successful download and conversion to mp3 I started receiving this error on certain videos. All conversion was done with Youtube-dl options (additional software is installed and working correctly). So I stripped the command to the most basic and still receive the same problem. I am not sure if this issue is local to my installation, but I figured it was best to post the issue just in case. I will investigate this on my end and report any notable findings.

$ youtube-dl --verbose https://www.youtube.com/watch?v=ua830TJ1jxA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=ua830TJ1jxA']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.24
[debug] Python version 2.7.3 - Linux-3.2.0-4-686-pae-i686-with-debian-7.6
[debug] Proxy map: {}
[youtube] Setting language
[youtube] ua830TJ1jxA: Downloading webpage
[youtube] ua830TJ1jxA: Downloading video info webpage
[youtube] ua830TJ1jxA: Extracting video information
[youtube] ua830TJ1jxA: Encrypted signatures detected.
[youtube] encrypted signature length 84 (28.55), itag 43, html5 player en_US-vflCGk6yw/html5player
[youtube] ua830TJ1jxA: Downloading js player vflCGk6yw
WARNING: Writing cache to u'/home/$USER/.cache/youtube-dl/youtube-sigfuncs/js_vflCGk6yw_84.json' failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 392, in _extract_signature_function
cache_res = res(test_string)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.

ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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 "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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 "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 848, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 481, in _decrypt_signature
u'Automatic signature extraction failed: ' + tb, cause=e)
ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/local/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.

@gregrich91
Copy link

@gregrich91 gregrich91 commented Jul 25, 2014

I get the same thing: [debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2014.07.24
[debug] Python version 2.7.8 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
[youtube] Setting language
[youtube] XbGs_qK2PQA: Downloading webpage
[youtube] XbGs_qK2PQA: Downloading video info webpage
[youtube] XbGs_qK2PQA: Extracting video information
[youtube] XbGs_qK2PQA: Encrypted signatures detected.
[youtube] encrypted signature length 84 (28.55), itag 22, html5 player en_US-vflCGk6yw/html5player
[youtube] XbGs_qK2PQA: Downloading js player vflCGk6yw
WARNING: Writing cache to u'C:\Users\Greg/.cache\youtube-dl\youtube-sigfuncs\js_vflCGk6yw_84.json' failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 392, in _extract_signature_function
File "youtube_dl\extractor\youtube.pyo", line 450, in
File "youtube_dl\jsinterp.pyo", line 179, in resf
File "youtube_dl\jsinterp.pyo", line 48, in interpret_statement
File "youtube_dl\jsinterp.pyo", line 140, in interpret_expression
File "youtube_dl\jsinterp.pyo", line 170, in extract_function
ExtractorError: Could not find JS function u'Go.sH';

it might be related/same as issue 3353

@antdude
Copy link

@antdude antdude commented Jul 25, 2014

Same for me tonight:
$ youtube-dl -v https://www.youtube.com/watch?v=Q33SoblaZbU
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=Q33SoblaZbU']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.07.24
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.6
[debug] Proxy map: {}
[youtube] Setting language
[youtube] Q33SoblaZbU: Downloading webpage
[youtube] Q33SoblaZbU: Downloading video info webpage
[youtube] Q33SoblaZbU: Extracting video information
[youtube] Q33SoblaZbU: Encrypted signatures detected.
[youtube] encrypted signature length 84 (28.55), itag 22, html5 player en_US-vflCGk6yw/html5player
[youtube] Q33SoblaZbU: Downloading js player vflCGk6yw
WARNING: Writing cache to u'/home/ant/.cache/youtube-dl/youtube-sigfuncs/js_vflCGk6yw_84.json' failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 392, in _extract_signature_function
cache_res = res(test_string)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.

ERROR: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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 "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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 "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 169, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 848, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 481, in _decrypt_signature
u'Automatic signature extraction failed: ' + tb, cause=e)
ExtractorError: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 477, in _decrypt_signature
return func(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 450, in
return lambda s: initial_function([s])
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 179, in resf
res = self.interpret_statement(stmt, local_vars)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 48, in interpret_statement
v = self.interpret_expression(expr, local_vars, allow_recursion)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 140, in interpret_expression
self._functions[fname] = self.extract_function(fname)
File "/usr/bin/youtube-dl/youtube_dl/jsinterp.py", line 170, in extract_function
raise ExtractorError('Could not find JS function %r' % funcname)
ExtractorError: Could not find JS function u'Go.sH'; 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.

It seems like we need to do this daily? :(

@phihag
Copy link
Contributor

@phihag phihag commented Jul 25, 2014

Thank you for the report. This bug has been fixed in youtube-dl 2014.07.25. Type sudo youtube-dl -U to update.

@phihag phihag closed this Jul 25, 2014
@harayz
Copy link

@harayz harayz commented Jul 26, 2014

so nice so awesome

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