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.8k stars 1.62k forks source link

Error: HTTP Error 404: Not Found #1362

Closed alSathler closed 3 years ago

alSathler commented 3 years ago

System OS

Windows

Python Version

3.9 (CPython)

Install Source

pip / PyPi

Install version / commit hash

3.6.2

Expected Behavior vs Actual Behavior

No response

Steps to reproduce

open cmd enter command: "spotdl" + 'songname' (press enter)

Traceback

Error: HTTP Error 404: Not Found        While Error : Natalie Taylor - Surrender
 Traceback (most recent call last):
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line
265, in download_song
    youtubeHandler.streams.filter(only_audio=True)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\__main__.py", line 321, in
streams
    return StreamQuery(self.fmt_streams)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\__main__.py", line 214, in
fmt_streams
    if "adaptive_fmts" in self.player_config_args:
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\__main__.py", line 188, in
player_config_args
    self._player_config_args = self.vid_info
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\__main__.py", line 291, in
vid_info
    return dict(parse_qsl(self.vid_info_raw))
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\__main__.py", line 109, in
vid_info_raw
    self._vid_info_raw = request.get(self.vid_info_url)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\request.py", line 53, in get
    response = _execute_request(url, headers=extra_headers, timeout=timeout)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\site-packages\pytube\request.py", line 37, in
_execute_request
    return urlopen(request, timeout=timeout)  # nosec
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 523, in open
    response = meth(req, response)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 632, in http_response
    response = self.parent.error(
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 561, in error
    return self._call_chain(*args)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "c:\users\alec1\appdata\local\programs\python\python39\lib\urllib\request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found

Other details

No response

xnetcat commented 3 years ago

update to v3.7.2