RegexNotFoundError -- JS Player exception raised #3876

Closed
opened 2026-02-21 01:40:00 -05:00 by deekerman · 3 comments
Owner

Originally created by @jleaders on GitHub (Jan 24, 2015).

youtube-dl "ytsearch:taylor swift" --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['ytsearch:taylor swift', '--verbose']
[debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Linux-3.17.0-031700rc1-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] Proxy map: {}
[youtube:search] query "taylor swift": Downloading page 1
[download] Downloading playlist: taylor swift
[youtube:search] playlist taylor swift: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[youtube] Setting language
[youtube] e-ORhEE9VVg: Downloading webpage
[youtube] e-ORhEE9VVg: Downloading video info webpage
[youtube] e-ORhEE9VVg: Extracting video information
[youtube] e-ORhEE9VVg: Encrypted signatures detected.
[youtube] {22} signature length 40.42, html5 player en_US-vfl_ZlzZL
[youtube] e-ORhEE9VVg: Downloading js player vfl_ZlzZL
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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.
; 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 170, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 860, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature
u'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 479, in _decrypt_signature
video_id, player_url, s
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function
res = self._parse_sig_js(code)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js
u'Initial JS player signature function name')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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.
; 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.

youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.
sudo apt-get update && sudo apt-get upgrade

Same error after updating and upgrading

Originally created by @jleaders on GitHub (Jan 24, 2015). youtube-dl "ytsearch:taylor swift" --verbose [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['ytsearch:taylor swift', '--verbose'] [debug] Encodings: locale ANSI_X3.4-1968, fs ANSI_X3.4-1968, out ANSI_X3.4-1968, pref ANSI_X3.4-1968 [debug] youtube-dl version 2014.08.05 [debug] Python version 2.7.8 - Linux-3.17.0-031700rc1-generic-x86_64-with-Ubuntu-14.10-utopic [debug] Proxy map: {} [youtube:search] query "taylor swift": Downloading page 1 [download] Downloading playlist: taylor swift [youtube:search] playlist taylor swift: Collected 1 video ids (downloading 1 of them) [download] Downloading video #1 of 1 [youtube] Setting language [youtube] e-ORhEE9VVg: Downloading webpage [youtube] e-ORhEE9VVg: Downloading video info webpage [youtube] e-ORhEE9VVg: Extracting video information [youtube] e-ORhEE9VVg: Encrypted signatures detected. [youtube] {22} signature length 40.42, html5 player en_US-vfl_ZlzZL [youtube] e-ORhEE9VVg: Downloading js player vfl_ZlzZL ERROR: Signature extraction failed: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js u'Initial JS player signature function name') File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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. ; 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/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 479, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js u'Initial JS player signature function name') File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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. Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 516, in extract_info ie_result = ie.extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 170, in extract return self._real_extract(url) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 860, in _real_extract encrypted_sig, video_id, player_url, age_gate) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 489, in _decrypt_signature u'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 479, in _decrypt_signature video_id, player_url, s File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 383, in _extract_signature_function res = self._parse_sig_js(code) File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 454, in _parse_sig_js u'Initial JS player signature function name') File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 391, 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. ; 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. > youtube-dl -U > It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update. > sudo apt-get update && sudo apt-get upgrade Same error after updating and upgrading
Author
Owner

@jaimeMF commented on GitHub (Jan 24, 2015):

The version on the Ubuntu repos is probably outdated, you'll have to follow the instructions in the FAQ.

@jaimeMF commented on GitHub (Jan 24, 2015): The version on the Ubuntu repos is probably outdated, you'll have to [follow the instructions in the FAQ](https://yt-dl.org/update).
Author
Owner

@jleaders commented on GitHub (Jan 27, 2015):

Actually that FAQ information is super helpful.

You know what? I think a link to that FAQ should be in the error output because I wish I could have known that the package manager was serving an outdated version. I just assumed you guys had control of the *.deb's

After all, the error output already suggests the fix to update, why not also have this link?
Can we get that to happen?

@jleaders commented on GitHub (Jan 27, 2015): Actually that FAQ information is super helpful. You know what? I think a link to that FAQ should be in the error output because I wish I could have known that the package manager was serving an outdated version. I just assumed you guys had control of the *.deb's After all, the error output already suggests the fix to update, why not also have this link? Can we get that to happen?
Author
Owner

@phihag commented on GitHub (Jan 29, 2015):

@jleaders It already has happened - every version from December 2014 on does include the FAQ link if it detects it's running on debian.

@phihag commented on GitHub (Jan 29, 2015): @jleaders It [already has happened](https://github.com/rg3/youtube-dl/commit/732ea2f09bbcf250e376d6a16dfa0ae8c406ff34) - every version from December 2014 on _does_ include the FAQ link if it detects it's running on debian.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#3876
No description provided.