I am extracting wikipedia articles via mediawiki API (example :
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
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
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.