Patrick-Hogan / wandering_inn

Download and convert The Wandering Inn to epub and mobi (kindle) format
27 stars 16 forks source link

Wordpress Rate Limiter #15

Closed Patrick-Hogan closed 11 months ago

Patrick-Hogan commented 1 year ago

Using this project on a large number of chapters causes the user's IP address to be banned by wanderinginn.com with the following error:


WordPress Backup & Security Plugin - BlogVault Firewall

Blocked because of Malicious Activities

Reference ID: <removed>

Presumably, the script hits some rate limit that trips a ban. Running for a few chapters at a time seems okay for now.

Workarounds:

JJTech0130 commented 1 year ago

I contacted TWI WebDev on Discord, and they were happy to whitelist me once I explained my situation. Not sure if it actually will prevent be from being banned again (not trying), but at least my main IP is now unbanned.

Patrick-Hogan commented 11 months ago

Added a rate limiter to limit calls to once a minute and still got banned before downloading a single chapter. I think I'll have to reach out on discord as well when I get time.