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

Fails to download mp3 version, only webm, because youtubedl is not up to date #347

Closed MilkyDoritos closed 1 year ago

MilkyDoritos commented 1 year ago

Describe the bug Fails to download mp3 version, only webm, because youtubedl and yt-dlp is not up to date

To Reproduce "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts\spotify_dl.exe" -mc 6 -l https://open.spotify.com/playlist/6VtRgieiPYRZlhfqRjXP7D

... Failed to download Wow., make sure yt_dlp is up to date Failed to download: Absolute Vibe\Post Malone - Wow..mp3, please ensure YouTubeDL is up-to-date. ...

Expected behavior a download of the song as mp3 file for ease of use.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

SathyaBhat commented 1 year ago

That's a generic error if yt-dlp throws if it cannot download for whatever reasons. There's nothing I can do about that, you'll have to update yt-dlp

pip3 install --upgrade yt-dlp

badrihippo commented 1 year ago

@MilkyDoritos were there more details in the error message? For example, I ran into the problem just now because yt-dlp was Unable to communicate with SponsorBlock API which the status page tells me is currently down. I'm guessing it's something like this, because yt-dlp did give you webm files so that means the download part is working and it must have failed later.

For some reason, I'm not able to disable using SponsorBlock (I'll look into that and create a separate issue if necessary) but if your case is the same as mine, trying again when the SponsorBlock API is back up should solve the problem.