LaurenceRawlings / savify

Download Spotify songs to mp3 with full metadata and cover art!
MIT License
1.19k stars 80 forks source link

[BUG] Errors showing up when trying to download songs #62

Open jeremygottfried opened 2 years ago

jeremygottfried commented 2 years ago

Describe the bug

  1. [ERROR] ERROR: unable to download video data: HTTP Error 403: Forbidden
  2. [ERROR] ERROR: WARNING: unable to obtain file audio codec with ffprobe
  3. [ERROR] ERROR: unable to rename file: [Errno 2] No such file or directory:
  4. urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!

I am getting these errors all the time when I download. It doesn't seem to affect the actual download, so I'm not sure why it's showing as an error, though some downloads stall for a very long time before completing. Sometimes it gets stuck on the last 1-2 songs in a playlist/album.

To Reproduce To produce errors: savify "https://open.spotify.com/playlist/37i9dQZF1DX2kt7dB63bU1" -q best -f mp3 -o "./" -g "%playlist%"

To produce stalling: savify "https://open.spotify.com/track/5vxhoZSPbnyhJVOd8WOGVR?si=6eec776bde30408c" -q best -f mp3 -o "./" -g "%artist%/%album%"

Expected behavior Downloads work without error or exit the script if there is an exception.

Screenshots

Screen Shot 2022-01-28 at 12 43 46 PM

Desktop (please complete the following information):

jeremygottfried commented 2 years ago

The stalling may be because it's trying to download the music video or entire album for some of the songs, since many albums include a title track. This could probably be solved if there is a size limit option, so you could limit the size of a single track to 50mb for example.