imgbrd-grabber icon indicating copy to clipboard operation
imgbrd-grabber copied to clipboard

[Question] Rate-limiting functionality for requests?

Open teward opened this issue 1 year ago • 1 comments

In trying to add a source locally, I keep hitting rate limits that it seems Imgbrd-grabber is incapable of handling. I've had to write separate API code and use a completely separate program to process my queries for that source in order to properly adhere to the rate limits with proper backoff.

Are there any mechanisms in imgbrd-grabber to enact ratelimit controls and handling for error code responses for certain sources? If not, can we consider this? (Derpibooru for instance has rate limits but it seems that the system has inbuilt code to handle that or hide it).

teward avatar Aug 08 '23 21:08 teward

would be a good idea to set a cooldown between each download, and to set a maximum bandwidth per site per hour. this should avoid ratelimits and ipbans.

suminohana avatar Oct 14 '23 19:10 suminohana