spotDL / spotify-downloader

Download your Spotify playlists and songs along with album art and metadata (from YouTube if a match is found).
https://spotdl.readthedocs.io/en/latest/
MIT License
17.06k stars 1.56k forks source link

I cant download song #488

Closed bizzlerulez closed 5 years ago

bizzlerulez commented 5 years ago

What is the purpose of your issue?

Description

When i tried to download song its gave me this error.

ERROR: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 793, in extract_info
    ie_result = ie.extract(url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1874, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1241, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_youtube_dl.py", line 38, in _fetch_basic
    self._ydl_info = ydl.extract_info(self.videoid, download=False)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 816, in extract_info
    self.report_error(compat_str(e), e.format_traceback())
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 621, in report_error
    self.trouble(error_message, tb)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 591, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Derya\AppData\Local\Programs\Python\Python37\Scripts\spotdl.exe\__main__.py", line 9, in <module>
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\spotdl.py", line 62, in main
    match_args()
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\spotdl.py", line 27, in match_args
    track_dl = downloader.Downloader(raw_song=track)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\downloader.py", line 93, in __init__
    self.content, self.meta_tags = youtube_tools.match_video_and_metadata(raw_song)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\youtube_tools.py", line 58, in match_video_and_metadata
    content = go_pafy(track, meta_tags)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\youtube_tools.py", line 35, in go_pafy
    track_info = pafy.new(track_url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\pafy.py", line 124, in new
    return Pafy(url, basic, gdata, size, callback, ydl_opts)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_youtube_dl.py", line 29, in __init__
    super(YtdlPafy, self).__init__(*args, **kwargs)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_shared.py", line 96, in __init__
    self._fetch_basic()
  File "c:\users\derya\appdata\local\programs\python\python37\lib\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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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.

Log

DEBUG: Fetching metadata for given track URL
DEBUG: Fetching lyrics
DEBUG: {'album': {'album_type': 'compilation',
               'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/0LyfQWJT6nXafLPZqxe9Of'},
                            'href': 'https://api.spotify.com/v1/artists/0LyfQWJT6nXafLPZqxe9Of',
                            'id': '0LyfQWJT6nXafLPZqxe9Of',
                            'name': 'Various Artists',
                            'type': 'artist',
                            'uri': 'spotify:artist:0LyfQWJT6nXafLPZqxe9Of'}],
               'external_urls': {'spotify': 'https://open.spotify.com/album/5u3RIWaoxJ8iTTHrl7VySj'},
               'href': 'https://api.spotify.com/v1/albums/5u3RIWaoxJ8iTTHrl7VySj',
               'id': '5u3RIWaoxJ8iTTHrl7VySj',
               'images': [{'height': 640,
                           'url': 'https://i.scdn.co/image/b7a3cb58ad45bb37aabf7c3a993e48e809127d0d',
                           'width': 640},
                          {'height': 300,
                           'url': 'https://i.scdn.co/image/29ed5c9fa3325ab791dca3e34fe71753ab43e564',
                           'width': 300},
                          {'height': 64,
                           'url': 'https://i.scdn.co/image/6ff7fdf53a6f19926e10c570cb6b76e544079ee5',
                           'width': 64}],
               'name': 'Twist in france',
               'release_date': '2015-04-01',
               'release_date_precision': 'day',
               'total_tracks': 13,
               'type': 'album',
               'uri': 'spotify:album:5u3RIWaoxJ8iTTHrl7VySj'},
     'artists': [{'external_urls': {'spotify': 'https://open.spotify.com/artist/18wc7xvm8Ti7rqoLtf6jIU'},
                  'href': 'https://api.spotify.com/v1/artists/18wc7xvm8Ti7rqoLtf6jIU',
                  'id': '18wc7xvm8Ti7rqoLtf6jIU',
                  'name': 'Danyel Gerard',
                  'type': 'artist',
                  'uri': 'spotify:artist:18wc7xvm8Ti7rqoLtf6jIU'}],
     'copyright': 'TNA records',
     'disc_number': 1,
     'duration': 179.983,
     'explicit': False,
     'external_ids': {'isrc': 'BET231531210'},
     'external_urls': {'spotify': 'https://open.spotify.com/track/1nB2KIHGqEfwGjeiP4JuWb'},
     'genre': None,
     'href': 'https://api.spotify.com/v1/tracks/1nB2KIHGqEfwGjeiP4JuWb',
     'id': '1nB2KIHGqEfwGjeiP4JuWb',
     'is_local': False,
     'lyrics': None,
     'name': 'Le petit gonzalez',
     'popularity': 0,
     'preview_url': None,
     'publisher': 'YEYE records',
     'release_date': '2015-04-01',
     'total_tracks': 13,
     'track_number': 1,
     'type': 'track',
     'uri': 'spotify:track:1nB2KIHGqEfwGjeiP4JuWb',
     'year': '2015'}
DEBUG: Opening URL: https://www.youtube.com/results?sp=EgIQAQ%253D%253D&q=Danyel%20Gerard%20-%20Le%20petit%20gonzalez%20lyrics
ERROR: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 793, in extract_info
    ie_result = ie.extract(url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\common.py", line 508, in extract
    ie_result = self._real_extract(url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1874, in _real_extract
    encrypted_sig, video_id, player_url, age_gate)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1241, in _decrypt_signature
    'Signature extraction failed: ' + tb, cause=e)
youtube_dl.utils.ExtractorError: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_youtube_dl.py", line 38, in _fetch_basic
    self._ydl_info = ydl.extract_info(self.videoid, download=False)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 816, in extract_info
    self.report_error(compat_str(e), e.format_traceback())
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 621, in report_error
    self.trouble(error_message, tb)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\YoutubeDL.py", line 591, in trouble
    raise DownloadError(message, exc_info)
youtube_dl.utils.DownloadError: ERROR: Signature extraction failed: Traceback (most recent call last):
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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 "c:\users\derya\appdata\local\programs\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Derya\AppData\Local\Programs\Python\Python37\Scripts\spotdl.exe\__main__.py", line 9, in <module>
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\spotdl.py", line 62, in main
    match_args()
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\spotdl.py", line 27, in match_args
    track_dl = downloader.Downloader(raw_song=track)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\downloader.py", line 93, in __init__
    self.content, self.meta_tags = youtube_tools.match_video_and_metadata(raw_song)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\youtube_tools.py", line 58, in match_video_and_metadata
    content = go_pafy(track, meta_tags)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\spotdl\youtube_tools.py", line 35, in go_pafy
    track_info = pafy.new(track_url)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\pafy.py", line 124, in new
    return Pafy(url, basic, gdata, size, callback, ydl_opts)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_youtube_dl.py", line 29, in __init__
    super(YtdlPafy, self).__init__(*args, **kwargs)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\pafy\backend_shared.py", line 96, in __init__
    self._fetch_basic()
  File "c:\users\derya\appdata\local\programs\python\python37\lib\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 "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1231, in _decrypt_signature
    video_id, player_url, s
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1139, in _extract_signature_function
    res = self._parse_sig_js(code)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\extractor\youtube.py", line 1206, in _parse_sig_js
    initial_function = jsi.extract_function(funcname)
  File "c:\users\derya\appdata\local\programs\python\python37\lib\site-packages\youtube_dl\jsinterp.py", line 245, in extract_function
    raise ExtractorError('Could not find JS function %r' % funcname)
youtube_dl.utils.ExtractorError: Could not find JS function 'encodeURIComponent'; 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 ExtractorError("Could not find JS function 'encodeURIComponent'; 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.
linusg commented 5 years ago

https://github.com/ritiek/spotify-downloader/wiki/FAQ#i-get-this-youtube-dl-error-all-of-a-sudden

linusg commented 5 years ago

In the future, make sure to look at the wiki, closed issues and the traceback (which is providing a solution in this case).