Hello,
I am extracting wikipedia articles via mediawiki API (example :
http://en.wikipedia.org/w/api.php?action=parse&prop=text&page=Olive&format=xml
)
and it's working quite well most of the time but sometimes the API makes a
delay to answer or worse I got no response at all from the API and my
request fall into timeout (tried many different CURL timeout params to
resolve it but nothing is absolutely safe (ie : 2 retries + 7 sec exec
timeout) ...

The problem occurs randomly on any size of article (big or small). And I
noticed that after a failure it always work with a second manual attempt...

TECH: I am using package SxWiki (SxWiki.inc.php) + CURL methods included
CURL ERROR: Operation timed out after 7000 milliseconds with 0 bytes
received

***
Do you know that kind of problems with the API ? Wikipedia API overload ??

Im trying to find a solution for weeks now and no method is 100% reliable!
Thank you for your help.
Oskar
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to