vaibkumr / yTermPlayer

Stream youtube playlists as audio on linux terminal
GNU General Public License v3.0
267 stars 22 forks source link

Unable to extract Initial JS player signature function name #1

Closed vaibkumr closed 6 years ago

vaibkumr commented 6 years ago

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 commented 6 years ago

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

vladdoster commented 5 years ago

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

Loving the project!