Downloading my playlist from another system worked (different version from github). When downloading from my fresh windows 10, it downloaded only ~80/180. Every failed download gives the same error message.
Updating youtube-dl via pip install -U youtube_dl didn't help (latest was already installed prior).
Here are some tracks, which failed to download:
https://open.spotify.com/track/3hn2s09PyNrYSqCnhYjm7L
https://open.spotify.com/track/0cPsHxvuICaPKmWRFCRe1i
https://open.spotify.com/track/5ERWSokrBWx8sUwHV6QN93
https://open.spotify.com/track/1mPPo1eG1joz3HX0Ecw9LL
https://open.spotify.com/track/4DErCvO9irCDFmNZWnNw3E
https://open.spotify.com/track/66WcaWVGRFmpx0euxmw9yM
https://open.spotify.com/track/6bV83bOk40Vdtdgicmqv3S
https://open.spotify.com/track/0ndt8ke0ApnXkNxEhamOnW
https://open.spotify.com/track/2WaA5bVXcIqqpz9j0gd7qK
https://open.spotify.com/track/0UFtsK5aSrq5zYai4aikAu
F:\Development\spotify-downloader>python spotdl.py --list "(8.txt" --log-level=DEBUG
DEBUG: Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)]
DEBUG: Platform: Windows-10-10.0.17134-SP0
DEBUG: {'album': None,
'avconv': False,
'config': None,
'download_only_metadata': False,
'dry_run': False,
'file_format': '{artist} - {track_name}',
'folder': 'C:\Users\removedName\Music',
'input_ext': '.m4a',
'list': '(8.txt',
'log_level': 10,
'manual': False,
'music_videos_only': False,
'no_metadata': False,
'no_spaces': False,
'output_ext': '.mp3',
'overwrite': 'prompt',
'playlist': None,
'search_format': '{artist} - {track_name} lyrics',
'song': None,
'trim_silence': False,
'username': None,
'version': False,
'youtube_api_key': None}
INFO: Preparing to download 98 songsDEBUG: Fetching metadata for given track URL
DEBUG: Fetching lyrics
DEBUG: {'album': {'album_type': 'album',
'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/043Bey7ngSGRFpJftAlKpi'},
'href': 'https://api.spotify.com/v1/artists/043Bey7ngSGRFpJftAlKpi',
'id': '043Bey7ngSGRFpJftAlKpi',
'name': 'Spag Heddy',
'type': 'artist',
'uri': 'spotify:artist:043Bey7ngSGRFpJftAlKpi'}],
'external_urls': {'spotify': 'https://open.spotify.com/album/1FmvCvnTpGAnhEPTVrUUiz'},
'href': 'https://api.spotify.com/v1/albums/1FmvCvnTpGAnhEPTVrUUiz',
'id': '1FmvCvnTpGAnhEPTVrUUiz',
'images': [{'height': 640,
'url': 'https://i.scdn.co/image/b5992ca4e972b13fdd4b846b171e4399a8007a8e',
'width': 640},
{'height': 300,
'url': 'https://i.scdn.co/image/9a5994ff2d8a1e24e32d88a37163826be72673e5',
'width': 300},
{'height': 64,
'url': 'https://i.scdn.co/image/9c7e05c88fa8adbcca28eebd30e731f7f73a5ea2',
'width': 64}],
'name': 'The Classics',
'release_date': '2017-05-05',
'release_date_precision': 'day',
'total_tracks': 20,
'type': 'album',
'uri': 'spotify:album:1FmvCvnTpGAnhEPTVrUUiz'},
'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/043Bey7ngSGRFpJftAlKpi'},
'href': 'https://api.spotify.com/v1/artists/043Bey7ngSGRFpJftAlKpi',
'id': '043Bey7ngSGRFpJftAlKpi',
'name': 'Spag Heddy',
'type': 'artist',
'uri': 'spotify:artist:043Bey7ngSGRFpJftAlKpi'}],
'copyright': '2017 Create Classics',
'disc_number': 1,
'duration': 233.8,
'explicit': False,
'external_ids': {'isrc': 'CA5KR1554926'},
'external_urls': {'spotify': 'https://open.spotify.com/track/0fUF5bxAbaEkZeRatGvnG0'},
'genre': 'Brostep',
'href': 'https://api.spotify.com/v1/tracks/0fUF5bxAbaEkZeRatGvnG0',
'id': '0fUF5bxAbaEkZeRatGvnG0',
'is_local': False,
'lyrics': None,
'name': 'Permanent',
'popularity': 47,
'preview_url': 'https://p.scdn.co/mp3-preview/cbfd07113bfdeb71d0484fa80cb176acef754164?cid=4fe3fecfe5334023a1472516cc99d805',
'publisher': 'Create Classics',
'release_date': '2017-05-05',
'total_tracks': 20,
'track_number': 1,
'type': 'track',
'uri': 'spotify:track:0fUF5bxAbaEkZeRatGvnG0',
'year': '2017'}
DEBUG: Opening URL: https://www.youtube.com/results?sp=EgIQAQ%253D%253D&q=Spag%20Heddy%20-%20Permanent%20lyrics
ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1121, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1182, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\common.py", line 972, 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.
WARNING: Failed to download song. Will retry after other songsDEBUG: Fetching metadata for given track URL
DEBUG: Fetching lyrics
DEBUG: {'album': {'album_type': 'single',
'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0daugAjUgbJSqdlyYNwIbT'},
'href': 'https://api.spotify.com/v1/artists/0daugAjUgbJSqdlyYNwIbT',
'id': '0daugAjUgbJSqdlyYNwIbT',
'name': 'Vicetone',
'type': 'artist',
'uri': 'spotify:artist:0daugAjUgbJSqdlyYNwIbT'}],
'external_urls': {'spotify': 'https://open.spotify.com/album/6Xv7zgkIswLSsnqmYeo8OL'},
'href': 'https://api.spotify.com/v1/albums/6Xv7zgkIswLSsnqmYeo8OL',
'id': '6Xv7zgkIswLSsnqmYeo8OL',
'images': [{'height': 640,
'url': 'https://i.scdn.co/image/06439f999bd4fe50eb8a8b79585f518dc16ce041',
'width': 640},
{'height': 300,
'url': 'https://i.scdn.co/image/d4af804fa5e0668de91bd0d31b22809b39f2814a',
'width': 300},
{'height': 64,
'url': 'https://i.scdn.co/image/1a6d716342c553fe8ccecfe9519a79d1695ddc57',
'width': 64}],
'name': 'Nevada (feat. Cozi Zuehlsdorff)',
'release_date': '2016-06-24',
'release_date_precision': 'day',
'total_tracks': 1,
'type': 'album',
'uri': 'spotify:album:6Xv7zgkIswLSsnqmYeo8OL'},
'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0daugAjUgbJSqdlyYNwIbT'},
'href': 'https://api.spotify.com/v1/artists/0daugAjUgbJSqdlyYNwIbT',
'id': '0daugAjUgbJSqdlyYNwIbT',
'name': 'Vicetone',
'type': 'artist',
'uri': 'spotify:artist:0daugAjUgbJSqdlyYNwIbT'},
{'external_urls': {'spotify': 'https://open.spotify.com/artist/5wMfct6VVvaVQ8xGCXxIUa'},
'href': 'https://api.spotify.com/v1/artists/5wMfct6VVvaVQ8xGCXxIUa',
'id': '5wMfct6VVvaVQ8xGCXxIUa',
'name': 'Cozi Zuehlsdorff',
'type': 'artist',
'uri': 'spotify:artist:5wMfct6VVvaVQ8xGCXxIUa'}],
'copyright': '2016 Monstercat',
'disc_number': 1,
'duration': 208.561,
'explicit': False,
'external_ids': {'isrc': 'CA6D21600175'},
'external_urls': {'spotify': 'https://open.spotify.com/track/5BIjJP1zlOa3iY65RSkXkr'},
'genre': 'Big Room',
'href': 'https://api.spotify.com/v1/tracks/5BIjJP1zlOa3iY65RSkXkr',
'id': '5BIjJP1zlOa3iY65RSkXkr',
'is_local': False,
'lyrics': "I've been painting every fence I know\n"
'Every color bleeds into the same\n'
"'Cause before you go and walk away\n"
"Yeah, you better know where you're going\n"
'\n'
'Hey ya, hey ya\n'
"You're a wanderer, just like me\n"
'Hey ya, hey ya\n'
"Yeah, you better know where you're going\n"
'\n'
"Yeah, you better know where you're going\n"
'\n'
"I've been painting every fence I know\n"
'Every color bleeds into the same\n'
"'Cause before you go and walk away\n"
"Yeah, you better know where you're going\n"
'\n'
'Hey ya, hey ya\n'
"You're a wanderer, just like me\n"
'Hey ya, hey ya\n'
"Yeah, you better know where you're going\n"
'\n'
"(You're a wanderer, just like me)\n"
"(Yeah, you better know where you're going)\n"
'\n'
'Hey ya, hey ya\n'
"You're a wanderer, just like me\n"
'Hey ya, hey ya\n'
"Yeah, you better know where you're going\n"
'\n'
"Yeah, you better know where you're going\n"
'\n'
"Yeah, you better know where you're going\n"
'\n'
"You're a wanderer, just like me\n"
"Yeah, you better know where you're going\n"
'\n'
"(You're a wanderer, just like me)",
'name': 'Nevada (feat. Cozi Zuehlsdorff)',
'popularity': 65,
'preview_url': 'https://p.scdn.co/mp3-preview/3fdbd9870e39d5da03933f7e084aca251a8bcbbb?cid=4fe3fecfe5334023a1472516cc99d805',
'publisher': 'Monstercat',
'release_date': '2016-06-24',
'total_tracks': 1,
'track_number': 1,
'type': 'track',
'uri': 'spotify:track:5BIjJP1zlOa3iY65RSkXkr',
'year': '2016'}
DEBUG: Opening URL: https://www.youtube.com/results?sp=EgIQAQ%253D%253D&q=Vicetone%20-%20Nevada%20%28feat.%20Cozi%20Zuehlsdorff%29%20lyrics
ERROR: Signature extraction failed: Traceback (most recent call last):
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1121, in _extract_signature_function
res = self._parse_sig_js(code)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\youtube.py", line 1182, in _parse_sig_js
jscode, 'Initial JS player signature function name', group='sig')
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\youtube_dl\extractor\common.py", line 972, 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.
WARNING: Failed to download song. Will retry after other songsDEBUG: Fetching metadata for given track URL
DEBUG: Fetching lyrics
ERROR:
Traceback (most recent call last):
File "spotdl.py", line 198, in main
download_list(text_file=const.args.list)
File "spotdl.py", line 83, in download_list
download_single(raw_song, number=number)
File "spotdl.py", line 119, in download_single
meta_tags = spotify_tools.generate_metadata(raw_song)
File "F:\Development\spotify-downloader\core\spotify_tools.py", line 66, in generate_metadata
meta_tags['name'])
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\lyricwikia\lyricwikia.py", line 30, in get_lyrics
return get_all_lyrics(artist, song, linesep, timeout)[0]
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\lyricwikia\lyricwikia.py", line 36, in get_all_lyrics
response = _requests.get(url, timeout=timeout)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\api.py", line 72, in get
return request('get', url, params=params, *kwargs)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\api.py", line 58, in request
return session.request(method=method, url=url, *kwargs)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 512, in request
resp = self.send(prep, *send_kwargs)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 644, in send
history = [resp for resp in gen] if allow_redirects else []
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 644, inadapter_kwargs
history = [resp for resp in gen] if allow_redirects else []
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 222, in resolve_redirects
*
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\sessions.py", line 662, in send
r.content
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 827, in content
self._content = b''.join(self.iter_content(CONTENT_CHUNK_SIZE)) or b''
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\requests\models.py", line 749, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\urllib3\response.py", line 465, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\site-packages\urllib3\response.py", line 413, in read
data = self._fp.read(amt)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 447, in read
n = self.readinto(b)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\http\client.py", line 491, in readinto
n = self.fp.readinto(b)
File "C:\Users\removedName\AppData\Local\Programs\Python\Python37-32\lib\socket.py", line 589, in readinto
return self._sock.recv_into(b)
KeyboardInterrupt
Seems like YouTube changed something (yet again). Let's hope if those awesome youtube-dl guys can release a fix soon.
Here is the error that happens for me when downloading a single song.
$ python3 spotdl.py -s "ncs fade"
ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/ritiek/.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/ritiek/.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/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, 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 \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.
Traceback (most recent call last):
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/ritiek/.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/ritiek/.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/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, 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 "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 792, in extract_info
ie_result = ie.extract(url)
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 502, in extract
ie_result = self._real_extract(url)
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1803, in _real_extract
encrypted_sig, video_id, player_url, age_gate)
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1220, in _decrypt_signature
'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/ritiek/.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/ritiek/.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/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, 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 \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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/ritiek/Downloads/pafy/pafy/backend_youtube_dl.py", line 40, in _fetch_basic
self._ydl_info = ydl.extract_info(self.videoid, download=False)
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 815, in extract_info
self.report_error(compat_str(e), e.format_traceback())
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 620, in report_error
self.trouble(error_message, tb)
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 590, in trouble
raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/ritiek/.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/ritiek/.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/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, 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 \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.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotdl.py", line 216, in <module>
main()
File "spotdl.py", line 196, in main
download_single(raw_song=const.args.song)
File "spotdl.py", line 120, in download_single
content = youtube_tools.go_pafy(raw_song, meta_tags)
File "/home/ritiek/Downloads/spotify-downloader/core/youtube_tools.py", line 35, in go_pafy
track_info = pafy.new(track_url)
File "/home/ritiek/Downloads/pafy/pafy/pafy.py", line 124, in new
return Pafy(url, basic, gdata, size, callback, ydl_opts=ydl_opts)
File "/home/ritiek/Downloads/pafy/pafy/backend_youtube_dl.py", line 31, in __init__
super(YtdlPafy, self).__init__(*args, **kwargs)
File "/home/ritiek/Downloads/pafy/pafy/backend_shared.py", line 97, in __init__
self._fetch_basic()
File "/home/ritiek/Downloads/pafy/pafy/backend_youtube_dl.py", line 43, in _fetch_basic
raise IOError(str(e).replace('YouTube said', 'Youtube says'))
OSError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "/home/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/youtube.py", line 1210, in _decrypt_signature
video_id, player_url, s
File "/home/ritiek/.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/ritiek/.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/ritiek/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 972, 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 \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.
(Unsurprisingly) there are already (at least; I'm judging by titles) 4 open issues regarding this error on their side:
... which are all (also unsurprisingly) marked as duplicates of:
Which already has a bunch of discussion going on! I'm sure this will be fixed in the next few days or even hours.
There's already a pull request pending fixing it. Either download and compile a nightly or wait for a new release. Haha NixOS already updated the package with the fix, so I'll just use my notebook instead to download my music :3
Here's the pull request:
https://github.com/rg3/youtube-dl/pull/17464
youtube-dl 2.18.9.8 just came out and fixes the issue :)
Yep, it did! You can update your youtube-dl to latest version with
$ pip3 install youtube-dl -U
Gotta close this.
Most helpful comment
Yep, it did! You can update your youtube-dl to latest version with
Gotta close this.