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

Closed
vaibkumr opened this issue Sep 10, 2018 · 2 comments
Closed

Unable to extract Initial JS player signature function name #1

vaibkumr opened this issue Sep 10, 2018 · 2 comments

Comments

@vaibkumr
Copy link
Owner

vaibkumr commented Sep 10, 2018

File "/home/timetraveller/.local/lib/python3.7/site-packages/pafy/backend_youtube_dl.py", line 41, in _fetch_basic
raise IOError(str(e).replace('YouTube said', 'Youtube says'))
OSError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/timetraveller/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/timetraveller/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1121, in _extract_signature_function
res = self._parse_sig_js(code)
File "/home/timetraveller/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1182, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "/home/timetraveller/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, in _search_regex
raise RegexNotFoundError('Unable to extract %s' % _name)

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 \x1b[0;34mInitial JS player signature function name\x1b[0m; 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. [timetraveller@timemachine

@vaibkumr
Copy link
Owner Author

make sure youtube-dl is updated to the latest version.
a simple pip install --upgrade youtube-dl shall fix the issue

@vladdoster
Copy link

vladdoster commented Jun 30, 2019

Why is this an issue when deps are pinned? I hit same error.

Loving the project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants