It is considered very useful to utilize youtube-dl
software for downloading youtubes.
A message is seen and it stopped working, which is following.
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.
What should I do to proceed?
Make sure you are using the latest version; type youtube-dl -U to update.
Did you do that?youtube-dl -U
doesn't work anymore. The instructions for updating youtube-dl to the latest version are at: youtube-dl is not working. btw it also works if you usepip install --upgrade youtube-dl
instead ofpip install --upgrade youtube_dl
and it also works for a local install (i.e. without using sudo) done inside a Python virtual environment.