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

Unable to extract Initial JS player signature function name #4567

Closed
radx37 opened this issue Dec 26, 2014 · 1 comment
Closed

Unable to extract Initial JS player signature function name #4567

radx37 opened this issue Dec 26, 2014 · 1 comment

Comments

@radx37
Copy link

@radx37 radx37 commented Dec 26, 2014

I have the newest version and I am not able to download most videos.

youtube-dl --verbose https://www.youtube.com/watch?v=3SR2PIs2s6Y
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=3SR2PIs2s6Y']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.11.02.1-gentoo_no_offensive_sites
[debug] Python version 2.7.9 - Linux-3.16.5-gentoo-x86_64-Intel-R-Core-TM-2_Duo_CPU_T5250@_1.50GHz-with-gentoo-2.2
[debug] exe versions: avconv 9.17, avprobe 9.17
[debug] Proxy map: {}
[youtube] Confirming age
[youtube] 3SR2PIs2s6Y: Downloading webpage
[youtube] 3SR2PIs2s6Y: Downloading video info webpage
[youtube] 3SR2PIs2s6Y: Extracting video information
[youtube] 3SR2PIs2s6Y: Encrypted signatures detected.
[youtube] {43} signature length 40.41, html5 player en_US-vflw4H1P-
[youtube] 3SR2PIs2s6Y: Downloading js player vflw4H1P-
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 432, 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 "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 432, 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 "/usr/lib64/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 533, in extract_info
ie_result = ie.extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 198, in extract
return self._real_extract(url)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 934, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 549, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 539, in _decrypt_signature
video_id, player_url, s
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 453, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/youtube.py", line 514, in _parse_sig_js
'Initial JS player signature function name')
File "/usr/lib64/python2.7/site-packages/youtube_dl/extractor/common.py", line 432, 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.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Dec 26, 2014

You are using an outdated version of youtube-dl, the latest version is 2014.12.17.2 and not 2014.11.02.1. Refer to our FAQ if you have trouble updating.

@dstftw dstftw closed this Dec 26, 2014
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.