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

RegexNotFoundError: Unable to extract Initial JS player signature function name #3112

Closed
mothlight opened this issue Jun 20, 2014 · 2 comments
Closed
Labels

Comments

@mothlight
Copy link

@mothlight mothlight commented Jun 20, 2014

youtube-dl -t https://www.youtube.com/watch?v=jYeDY6YkzIg
[youtube] Setting language
[youtube] jYeDY6YkzIg: Downloading webpage
[youtube] jYeDY6YkzIg: Downloading video info webpage
[youtube] jYeDY6YkzIg: Extracting video information
[youtube] jYeDY6YkzIg: Encrypted signatures detected.
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
[youtube] jYeDY6YkzIg: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'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.

WARNING: Warning: Falling back to static signature algorithm
ERROR: unable to download video data: HTTP Error 403: Forbidden

@qworty
Copy link

@qworty qworty commented Jun 20, 2014

Yes I have this too on this video http://youtu.be/6teOmBuMxw4
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-t', 'http://youtu.be/6teOmBuMxw4', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.06.09
[debug] Python version 3.4.1 - Linux-3.14.6-1-ARCH-x86_64-with-arch
[debug] Proxy map: {}
[youtube] Setting language
[youtube] 6teOmBuMxw4: Downloading webpage
[youtube] 6teOmBuMxw4: Downloading video info webpage
[youtube] 6teOmBuMxw4: Extracting video information
[youtube] 6teOmBuMxw4: Encrypted signatures detected.
[youtube] encrypted signature length 82 (41.40), itag 22, html5 player en_US-vflazPBMd
[youtube] 6teOmBuMxw4: Downloading js player vflazPBMd
WARNING: Automatic signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 874, in _decrypt_signature
video_id, player_url, len(s)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 376, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/youtube.py", line 444, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python3.4/site-packages/youtube_dl/extractor/common.py", line 383, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
youtube_dl.utils.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.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 20, 2014

Duplicate of #3104, run sudo youtube-dl -U to upgrade.

@mothlight When reporting an issue, please post the full output you get when using the --verbose option (in this case youtube-dl -t https://www.youtube.com/watch?v=jYeDY6YkzIg), it provides us really useful information.

@jaimeMF jaimeMF closed this Jun 20, 2014
@dstftw dstftw added the duplicate label Apr 1, 2017
@ytdl-org ytdl-org locked and limited conversation to collaborators Sep 8, 2018
@ytdl-org ytdl-org deleted a comment from Havrushchyk Sep 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.