Open contractorwolf opened 1 year ago
As per https://www.mediawiki.org/wiki/API:REST_API#Request_limit - I can see that wikipedia recommends waiting for an API to finish before actually calling another one. It is interesting if we can figure out exactly what this limit is and document it - @contractorwolf
Changing the wiki as per #50, might improve the limits as you can keep your own custom user agent which may be helpful in the long run.
When I do these one at a time they all resolve with a page, when I do more than ten at a time they start to throw pageerrors. I made a little code sample that perfectly illustrates the issue:
the list is actually duplicated items to show that the first 10 resolve and the last 10 (even though they are the same) will throw page errors. If I have a lost of 20 items what is the recommended way to get 20?
the result of the above code looks like this:
Thanks for the help!