[Toolserver-l] Problem

Kalan kalan.001 at gmail.com
Sat Jun 13 12:08:38 UTC 2009


On Fri, Jun 12, 2009 at 04:49, Stefan Kühn<kuehn-s at gmx.net> wrote:
> I need a faster way to get the text from the live Wikipedia. So I can
> reduce the CPU usage.

With MediaWiki API, you can retrieve 50 pages per request, it should
make things much smoother.

(Choose &format= as appropriate)

http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&titles=0|1|2|3|4|5|6|7|8|9|10|11|12|13|14|15|16|17|18|19|20|21|22|23|24|25|26|27|28|29|30|31|32|33|34|35|36|37|38|39|40|41|42|43|44|45|46|47|48|49

— Kalan



More information about the Toolserver-l mailing list