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.
ExtractorError ("Could not find JS function u'gr'") #7901
Comments
|
It also happens with http://www.youtube.com/watch?v=YQHsXMglC9A. [debug] System config: [] |
|
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. |
|
Thanks for the swift response. Fix confirmed. |
|
Ty working normally again |
|
It is still present even after a deleting and reinstalling. http://i.imgur.com/pDutLaa.png Is this related to my python version? my youtube-dl is up to date (2015.12.18) |
|
@zunjae post the full output of youtube-dl when run with |
|
Thanks. it running! |
|
@dstftw the error is only present while using mpsyt. I've also updated that but I still get errors mpsyt --version youtube-dl --version |
|
@zunjae this is youtube-dl issue tracker not mpsyt. Open a new issue if you can reproduce with latest youtube-dl used directly. |
|
hi . same bug with this video youtube-dl https://www.youtube.com/watch?v=XrrCrtyM4Bg --verbose |
|
@playqwerty01 You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating. |
|
youtube-dl --version --> 2016.04.06
|
|
The latest version is 2016.07.17, 2016.04.06 is quite old. |
|
worked! |
|
Simple method
|
|
version 2016.02.22 |
|
@sietse85 2016.02.22 is too old for youtube-dl. The latest version is 2016.09.04.1. |
|
Thanks, DL the latest version and put in /usr/loca/bin working perfect |
|
awesome product!!! |
When using the youtube-dl with the following argument
"http://www.youtube.com/watch?v=FOP_PPavoLA --verbose", the following verbose output is generated:
youtube-dl http://www.youtube.com/watch?v=FOP_PPavoLA
[youtube] FOP_PPavoLA: Downloading webpage
[youtube] FOP_PPavoLA: Downloading video info webpage
[youtube] FOP_PPavoLA: Extracting video information
[youtube] FOP_PPavoLA: Downloading js player en_US-vflXJM_5_
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 855, in parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/local/lib/python2.7/dist-packages/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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
pi@raspberrypi ~ $ youtube-dl http://www.youtube.com/watch?v=FOP_PPavoLA --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.youtube.com/watch?v=FOP_PPavoLA', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.12.13
[debug] Python version 2.7.3 - Linux-4.1.7-v7+-armv7l-with-debian-7.8
[debug] exe versions: avconv 9.14-6, avprobe 9.14-6
[debug] Proxy map: {}
[youtube] FOP_PPavoLA: Downloading webpage
[youtube] FOP_PPavoLA: Downloading video info webpage
[youtube] FOP_PPavoLA: Extracting video information
[youtube] {22} signature length 43.43, html5 player en_US-vflXJM_5
[youtube] FOP_PPavoLA: 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 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/local/lib/python2.7/dist-packages/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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/local/lib/python2.7/dist-packages/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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 663, in extract_info
ie_result = ie.extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 290, in extract
return self._real_extract(url)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1431, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/local/lib/python2.7/dist-packages/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 "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 877, in _decrypt_signature
video_id, player_url, s
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 792, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 855, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/local/lib/python2.7/dist-packages/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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how 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; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.