You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any recommended approach for when we need to retrieve a big list of shazams? I'm working with a list of more than 500 files, and I'm using the same code as in one of your examples:
I've also implemented a sort of manual shazam_cache, to avoid repeating the same audio Shazam.
However, I get many errors. Firstly, I start getting '429' errors, but in reattempts, I start getting mostly "Failed to decode json" errors.
Eventually, after many reruns, I am able to identify most audios, but this is far from a good approach.
Could anyone recommend an approach to handle these errors more effectively, especially when dealing with large lists? Any tips on optimizing the retry logic or managing rate limits would be greatly appreciated.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered:
@asapsmc VPNing into a different IP address works.
I'm using Nord, not sure if it's like rotating IPs in the background or something, but I was able to start my script, go to sleep, and get through like 10k songs overnight so something must be working.
Is there any recommended approach for when we need to retrieve a big list of shazams? I'm working with a list of more than 500 files, and I'm using the same code as in one of your examples:
I've also implemented a sort of manual shazam_cache, to avoid repeating the same audio Shazam.
However, I get many errors. Firstly, I start getting '429' errors, but in reattempts, I start getting mostly "Failed to decode json" errors.
Eventually, after many reruns, I am able to identify most audios, but this is far from a good approach.
Could anyone recommend an approach to handle these errors more effectively, especially when dealing with large lists? Any tips on optimizing the retry logic or managing rate limits would be greatly appreciated.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: