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 #21759

Closed
AlekZeng opened this issue Jul 12, 2019 · 0 comments
Closed

Comments

@AlekZeng
Copy link

@AlekZeng AlekZeng commented Jul 12, 2019

The version of youtube-dl I am using is 2019.7.12

Yes, I have seen other similar issues

Heres the logs:

[youtube] vPcnGrie__M: Downloading webpage
[youtube] vPcnGrie__M: Downloading video info webpage
[youtube] vPcnGrie__M: Downloading js player vflK6rDhN
ERROR: Signature extraction failed: Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('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 . 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.
Ignoring exception in command play:
Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('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 . 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\YoutubeDL.py", line 796, in extract_info
ie_result = ie.extract(url)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 529, in extract
ie_result = self._real_extract(url)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1989, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1352, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('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 . 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
File "C:/Users/Alek/PycharmProjects/MetrixMusic/bot_main.py", line 139, in play
ydl.download([url])
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\YoutubeDL.py", line 2008, in download
url, force_generic_extractor=self.params.get('force_generic_extractor', False))
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\YoutubeDL.py", line 819, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\YoutubeDL.py", line 624, in report_error
self.trouble(error_message, tb)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\YoutubeDL.py", line 594, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('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 . 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\bot.py", line 859, in invoke
await ctx.command.invoke(ctx)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 725, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1342, in _decrypt_signature
video_id, player_url, s
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1250, in _extract_signature_function
res = self._parse_sig_js(code)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\youtube.py", line 1314, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\youtube_dl\extractor\common.py", line 1004, in _search_regex
raise RegexNotFoundError('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 . 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 RegexNotFoundError('Unable to extract Initial JS player signature function name; 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.
Ignoring exception in command leave:
Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 79, in wrapped
ret = await coro(*args, **kwargs)
File "C:/Users/Alek/PycharmProjects/MetrixMusic/bot_main.py", line 50, in leave
vchannel = ctx.message.author.voice.channelpip
AttributeError: 'NoneType' object has no attribute 'channelpip'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\bot.py", line 859, in invoke
await ctx.command.invoke(ctx)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 725, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "D:\robotics\anaconda\envs\MetrixBot\lib\site-packages\discord\ext\commands\core.py", line 88, in wrapped
raise CommandInvokeError(exc) from exc
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: AttributeError: 'NoneType' object has no attribute 'channelpip'

Thanks in advance.

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.