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

Prevent empty folder from being created when dumping JSON #382

Open jonas-resch opened 3 weeks ago

jonas-resch commented 3 weeks ago

At the moment an empty folder will be created, even when executing the command with the --dump-json flag.

jonas-resch commented 3 weeks ago

Hi @SathyaBhat,

I looked into why the pipelines are failing but I can't seem to get why. Yt-dlp fails when downloading the test file (ERROR: [youtube] orTosjJUQ3k: Sign in to confirm you’re not a bot. This helps protect our community. Learn more).

Yt-dlp seems to be up to date: Requirement already satisfied: yt-dlp>=2023.3.4 in /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages (from spotify_dl==8.9.0) (2024.10.22).

Did you encounter this error before?

Thanks.

SathyaBhat commented 3 weeks ago

Hi @SathyaBhat,

I looked into why the pipelines are failing but I can't seem to get why. Yt-dlp fails when downloading the test file (ERROR: [youtube] orTosjJUQ3k: Sign in to confirm you’re not a bot. This helps protect our community. Learn more).

Yt-dlp seems to be up to date: Requirement already satisfied: yt-dlp>=2023.3.4 in /opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/site-packages (from spotify_dl==8.9.0) (2024.10.22).

Did you encounter this error before?

Thanks.

youtube can block access to yt-dlp, I haven't found an easy workaround yet

jonas-resch commented 3 weeks ago

Thanks, I'll retry the pipeline every now and then so that it at least runs through one time with the new changes.