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'gr'") #7901

Closed
Matricx-dev opened this issue Dec 18, 2015 · 19 comments
Closed

ExtractorError ("Could not find JS function u'gr'") #7901

Matricx-dev opened this issue Dec 18, 2015 · 19 comments
Labels
bug

Comments

@Matricx-dev
Copy link

@Matricx-dev Matricx-dev commented Dec 18, 2015

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.

@pilovali
Copy link

@pilovali pilovali commented Dec 18, 2015

It also happens with http://www.youtube.com/watch?v=YQHsXMglC9A.

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.youtube.com/watch?v=YQHsXMglC9A', u'--v
erbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.12.13
[debug] Python version 2.7.10 - Windows-2008ServerR2-6.1.7601-SP1
[debug] exe versions: ffmpeg N-76860-g72eaf72, ffprobe N-76860-g72eaf72
[debug] Proxy map: {}
[youtube] YQHsXMglC9A: Downloading webpage
[youtube] YQHsXMglC9A: Downloading video info webpage
[youtube] YQHsXMglC9A: Extracting video information
[youtube] {22} signature length 43.43, html5 player en_US-vflXJM_5_
[youtube] YQHsXMglC9A: Downloading player https://s.ytimg.com/yts/jsbin/player-e
n_US-vflXJM_5_/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 877, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 792, in _extract_signature_funct
ion
File "youtube_dl\extractor\youtube.pyo", line 855, in _parse_sig_js
File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'gr'; please report this issue on ht
tps://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 thi
s issue on https://yt-dl.org/bug . Make sure you are using the latest version; t
ype youtube-dl -U to update. Be sure to call youtube-dl with the --verbose fla
g and include its complete output.",)); please report this issue on https://yt-d
l.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 compl
ete output.
Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 877, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 792, in _extract_signature_funct
ion
File "youtube_dl\extractor\youtube.pyo", line 855, in _parse_sig_js
File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'gr'; please report this issue on ht
tps://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 "youtube_dl\YoutubeDL.pyo", line 663, in extract_info
File "youtube_dl\extractor\common.pyo", line 290, in extract
File "youtube_dl\extractor\youtube.pyo", line 1431, in _real_extract
File "youtube_dl\extractor\youtube.pyo", line 887, in _decrypt_signature
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "youtube_dl\extractor\youtube.pyo", line 877, in _decrypt_signature
File "youtube_dl\extractor\youtube.pyo", line 792, in _extract_signature_funct
ion
File "youtube_dl\extractor\youtube.pyo", line 855, in _parse_sig_js
File "youtube_dl\jsinterp.pyo", line 241, in extract_function
ExtractorError: Could not find JS function u'gr'; please report this issue on ht
tps://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 thi
s issue on https://yt-dl.org/bug . Make sure you are using the latest version; t
ype youtube-dl -U to update. Be sure to call youtube-dl with the --verbose fla
g and include its complete output.",)); please report this issue on https://yt-d
l.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 compl
ete output.

@yan12125 yan12125 added the bug label Dec 18, 2015
@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.

@Matricx-dev
Copy link
Author

@Matricx-dev Matricx-dev commented Dec 18, 2015

Thanks for the swift response.

Fix confirmed.

@giuliano-oliveira
Copy link

@giuliano-oliveira giuliano-oliveira commented Dec 18, 2015

Ty working normally again

@zunjae
Copy link

@zunjae zunjae commented Dec 18, 2015

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)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 18, 2015

@zunjae post the full output of youtube-dl when run with --verbose option.

@dw9694
Copy link

@dw9694 dw9694 commented Dec 18, 2015

Thanks. it running!

@zunjae
Copy link

@zunjae zunjae commented Dec 18, 2015

@dstftw the error is only present while using mpsyt. I've also updated that but I still get errors

mpsyt --version
mpsyt version : 0.2.5

youtube-dl --version
2015.12.18

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 18, 2015

@zunjae this is youtube-dl issue tracker not mpsyt. Open a new issue if you can reproduce with latest youtube-dl used directly.

@playqwerty01
Copy link

@playqwerty01 playqwerty01 commented Jul 10, 2016

hi . same bug with this video

youtube-dl https://www.youtube.com/watch?v=XrrCrtyM4Bg --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'https://www.youtube.com/watch?v=XrrCrtyM4Bg', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.22
[debug] Python version 2.7.12 - Linux-4.6.0-kali1-amd64-x86_64-with-Kali-kali-rolling-kali-rolling
[debug] exe versions: ffmpeg 3.0.2-4, ffprobe 3.0.2-4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] XrrCrtyM4Bg: Downloading webpage
[youtube] XrrCrtyM4Bg: Downloading video info webpage
[youtube] XrrCrtyM4Bg: Extracting video information
[youtube] {22} signature length 43.40, html5 player en_US-vflL1__zc
[youtube] XrrCrtyM4Bg: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflL1__zc/base.js
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'ur'; 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'ur'; 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'ur'; 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 666, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 316, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1407, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 915, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 905, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 820, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 883, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'ur'; 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'ur'; 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.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 10, 2016

@playqwerty01 You are using an outdated version of youtube-dl. Read our FAQ if you have troubles updating.

@iqbalu
Copy link

@iqbalu iqbalu commented Jul 19, 2016

youtube-dl --version --> 2016.04.06
[youtube] -0YdHqlKV8w: Downloading webpage
[youtube] -0YdHqlKV8w: Downloading video info webpage
[youtube] -0YdHqlKV8w: Extracting video information
[youtube] -0YdHqlKV8w: Downloading js player en_US-vflbQww0A
�[0;31mERROR:�[0m Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 989, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 904, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 967, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'tr'; 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'tr'; 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.

cmd = sprintf('youtube-dl --verbose --no-check-certificate --proxy "202.47.236.242:8080" %s', video_url);
system(cmd);
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'--no-check-certificate', u'--proxy', u'202.47.236.242:8080', u'https://www.youtube.com/watch?v=-0YdHqlKV8w']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.04.06
[debug] Python version 2.7.12 - Linux-3.13.0-43-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] exe versions: avconv 1.2.6-7, avprobe 1.2.6-7, ffmpeg 2.2.3, ffprobe 2.2.3, rtmpdump 2.4
[debug] Proxy map: {u'http': u'202.47.236.242:8080', u'https': u'202.47.236.242:8080'}
[youtube] -0YdHqlKV8w: Downloading webpage
[youtube] -0YdHqlKV8w: Downloading video info webpage
[youtube] -0YdHqlKV8w: Extracting video information
[youtube] {22} signature length 43.40, html5 player en_US-vflbQww0A
[youtube] -0YdHqlKV8w: Downloading player https://s.ytimg.com/yts/jsbin/player-en_US-vflbQww0A/base.js
�[0;31mERROR:�[0m Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 989, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 904, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 967, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'tr'; 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'tr'; 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 989, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 904, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 967, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'tr'; 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/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 669, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 323, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1562, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 999, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 989, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 904, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 967, in _parse_sig_js
initial_function = jsi.extract_function(funcname)
File "/usr/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'tr'; 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'tr'; 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.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jul 19, 2016

The latest version is 2016.07.17, 2016.04.06 is quite old.

@iqbalu
Copy link

@iqbalu iqbalu commented Jul 19, 2016

worked!

@Premanandh-S
Copy link

@Premanandh-S Premanandh-S commented Aug 17, 2016

Simple method
Remove the package by run the following command in terminal

sudo apt-get remove -f youtube-dl
Reinstall the package by run the following command
sudo apt-get install youtube-dl

@sietse85
Copy link

@sietse85 sietse85 commented Sep 5, 2016

version 2016.02.22
same error

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 5, 2016

@sietse85 2016.02.22 is too old for youtube-dl. The latest version is 2016.09.04.1.

@sietse85
Copy link

@sietse85 sietse85 commented Sep 6, 2016

Thanks, DL the latest version and put in /usr/loca/bin working perfect

@dechinopsis
Copy link

@dechinopsis dechinopsis commented Oct 21, 2016

awesome product!!!

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