Quote:
Originally Posted by yamusing
for the website there isn't a bot detection for the website as it clearly states the Load limiting for API requests "25 entries per request, 4-5 sequential requests usually okay before having to wait for ~5 seconds". When I try to download metadata at once on Calibre it clearly doesn't have a time limit between requests as I can see it finished downloading metadata for 4 books in 3 seconds in the job interface so it send request one at a time without any delay.
Is there really no way to implment it on my side for creating a download metadata limit per book?
Or if possible add in time.sleep(10) in the metadata plugin would this work?
|
What website is this? None of the builtin plugins use an API. And yes if you are using a specific website then you will need to implement policies specific to it in the plugin. No time.sleep() wont work since downloads are threaded. You will need to use the rate_limit() decorator from sources/search_engines.py this is how the builtin plugins implement rate limiting.