SathyaBhat / spotify-dl

Downloads songs from your Spotify Playlist
http://sathyasays.com/2015/12/29/spotify-dl-download-your-spotify-my-music-songs-as-mp3/
MIT License
1.76k stars 214 forks source link

Spotify links with query string don’t download and cause 400 error #330

Closed ulintlicker closed 1 year ago

ulintlicker commented 1 year ago

Describe the bug Seeing a: spotipy.exceptions.SpotifyException: http status: 400, code:-1 - Unsupported URL / URI., reason: None

in

File "C:\Users\Dave\AppData\Local\Programs\Python\Python311\Lib\site-packages\spotipy\client.py", line 1988, in _get_id

To Reproduce spotify_dl -V -l "https://open.spotify.com/playlist/65eY128ZRKdDd18nTxgrBO?si=a7d902dccda94b2f" -o C:\Users\Dave\Music\Spotify_downloads

Expected behavior To download songs to path listed

Screenshots image

Desktop (please complete the following information):

SathyaBhat commented 1 year ago

Can you try by removing the portion of the link without the ?si= part, ie

spotify_dl -V -l "https://open.spotify.com/playlist/65eY128ZRKdDd18nTxgrBO" -o C:\Users\Dave\Music\Spotify_downloads

ulintlicker commented 1 year ago

That worked! thanks!

SathyaBhat commented 1 year ago

Great thanks for confirming. I’ll fix this in the next release

Marcioghiraldelli commented 1 year ago

Has this bug been fixed yet?

anddam commented 1 year ago

Just found this after #333.

dxcvvxd commented 1 year ago

Has this bug been fixed yet?

nope, still present

SathyaBhat commented 1 year ago

fixed with 8.7 release https://github.com/SathyaBhat/spotify-dl/releases/tag/v8.7.0