I am using the pywikibot User send_email function to send an e-mail to a list of users.
This works quite well, except that the script is sleeping for 4000 s after about 15 messages have been sent, with the error message:
> WARNING: API error ratelimited: As an anti-abuse measure, you are limited from performing this action too many times in a short space of time, and you have exceeded this limit. Please try again in a few minutes. > WARNING: Waiting 4e+03 seconds before retrying. > 4000 seconds is more than 1 hour of waiting...
I have a few questions:
- Does it matter which platform I use to log on (Wikipedia, Wikidata, Wikimedia Commons)?
- Does a quota parameter need to be adjusted somewhere (user, system)?
- Or do I need a (special) bot flag to handle larger volumes?