insaiyancvk/pymusicdl

403 error suddenly

Z3r0nom1 opened this issue · 8 comments

When you are downloading an Spotify playlist suddenly the program fails and reports "403: Forbidden" error. Haven't tryed with Youtube playlists nor single songs.

It happens ramdomly and without any user input.

imagen

The 403 error is not caused by the code.

The 403 Forbidden error means that your browser thinks you don’t have permission to view the web page or internet resource at the address you’ve specified. Running into this will probably come as a surprise unless you’re a hacker.
Source: online-tech-tips

I know it isn't the code itself but the way it has to access the information to download. Maybe you could implement a way to skip the forbidden song and continue downloading the next one

Sure, I'll work on it.
Can you mention when you get this error? Does it come before or after the download starts?

It pops randomly when you are in the downloading songs phase

Can you share the link?

I've just released a patch. Update the package with pip install pymusicdl -U

Can you share the link?

https://open.spotify.com/playlist/4DYALPIektzP4vVdZFlHNe?si=97a7473762854ebf

I've just released a patch. Update the package with pip install pymusicdl -U

On my way

I was testing for a while and it seems that the error has been corrected! I'm closing this thread!