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

Closed
opened 2026-02-21 01:03:06 -05:00 by deekerman · 2 comments
Owner

Originally created by @kitt-vl on GitHub (Jul 31, 2015).

youtube-dl -i -x --verbose --audio-format=mp3 --restrict-filenames 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-i', '-x', '--verbose', '--audio-format=mp3', '--restrict-filenames', 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.08.05
[debug] Python version 2.7.8 - Linux-3.16.0-44-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] Proxy map: {}
[youtube:playlist] Downloading playlist RDKQ6zr6kCPj8 - add --no-playlist to just download video KQ6zr6kCPj8
[youtube:playlist] RDKQ6zr6kCPj8: Downloading Youtube mix
[download] Downloading playlist: Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock
[youtube:playlist] playlist Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock: Collected 26 video ids (downloading 26 of them)
[download] Downloading video #1 of 26
[youtube] Setting language
[youtube] KQ6zr6kCPj8: Downloading webpage
[youtube] KQ6zr6kCPj8: Downloading video info webpage
[youtube] KQ6zr6kCPj8: Extracting video information
[youtube] KQ6zr6kCPj8: Encrypted signatures detected.
[youtube] {22} signature length 40.40, html5 player en_US-vflGx3XCd
[youtube] KQ6zr6kCPj8: Downloading js player vflGx3XCd
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.

Originally created by @kitt-vl on GitHub (Jul 31, 2015). youtube-dl -i -x --verbose --audio-format=mp3 --restrict-filenames 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3' [debug] System config: [] [debug] User config: [] [debug] Command-line args: ['-i', '-x', '--verbose', '--audio-format=mp3', '--restrict-filenames', 'http://www.youtube.com/watch?v=KQ6zr6kCPj8&list=RDKQ6zr6kCPj8#t=3'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2014.08.05 [debug] Python version 2.7.8 - Linux-3.16.0-44-generic-x86_64-with-Ubuntu-14.10-utopic [debug] Proxy map: {} [youtube:playlist] Downloading playlist RDKQ6zr6kCPj8 - add --no-playlist to just download video KQ6zr6kCPj8 [youtube:playlist] RDKQ6zr6kCPj8: Downloading Youtube mix [download] Downloading playlist: Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock [youtube:playlist] playlist Mix - LMFAO - Party Rock Anthem ft. Lauren Bennett, GoonRock: Collected 26 video ids (downloading 26 of them) [download] Downloading video #1 of 26 [youtube] Setting language [youtube] KQ6zr6kCPj8: Downloading webpage [youtube] KQ6zr6kCPj8: Downloading video info webpage [youtube] KQ6zr6kCPj8: Extracting video information [youtube] KQ6zr6kCPj8: Encrypted signatures detected. [youtube] {22} signature length 40.40, html5 player en_US-vflGx3XCd [youtube] KQ6zr6kCPj8: Downloading js player vflGx3XCd 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.
Author
Owner

@dstftw commented on GitHub (Aug 1, 2015):

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

@dstftw commented on GitHub (Aug 1, 2015): You are using an outdated version of youtube-dl. Read [our FAQ](https://yt-dl.org/update) if you have troubles updating.
Author
Owner

@kitt-vl commented on GitHub (Aug 1, 2015):

now all works fine. Thanks!

@kitt-vl commented on GitHub (Aug 1, 2015): now all works fine. Thanks!
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#5265
No description provided.