Scraping Wikipedia with Python

David C Ullrich dullrich at sprynet.com
Tue Aug 11 14:53:03 EDT 2009


On Tue, 11 Aug 2009 21:29:40 +0300, Dotan Cohen wrote:

>>    Wikipedia has an API for computer access.  See
>>
>>        http://www.mediawiki.org/wiki/API
>>
>>
> Yes, I am aware of this as well. Does anyone know of a python class for
> easily interacting with it, or do I need to roll my own.

Try reading a little there! Starting there I went to

http://en.wikipedia.org/wiki/Wikipedia:Creating_a_bot

where I found a section on existing bots, comments on how the "scraping"
is not what you want, and even a Python section with a link to something 
labelled  PyWikipediaBot...







More information about the Python-list mailing list