To get a list of bots you may use:
query=wikipedia.query.GetData({'action':'query',
'list':'allusers',
'augroup':'sysop', 'aulimit':'500'},useAPI=True)
This way you get local flagged ones, so you'll need to make the same thing
to global bots. On svn you have also botlist.py, which downloads a list of
flagged bots.
Considering that in almost projects bot must use the word "Bot" on summary,
you can also work around this, or use the summary factory of interwiki.py
to exclude the py interwiki bots.
Alchimista
2012/5/8 Bináris <wikiposta(a)gmail.com>
2012/5/8 Merlijn van Deen
<valhallasw(a)arctus.nl>
This is not completely true - the bot flag is also a property of the
user account. You can query e.g.
http://nl.wikipedia.org/w/index.php?title=Speciaal:Gebruikerslijst&offs…
Yes, that's true. And if you want to be quite accurate, you must also
determine the date of acquiring the bot flag from bureau logs and compare
it to the page history. :-)
--
Bináris
_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
--
Alchimista
http://pt.wikipedia.org/wiki/Utilizador:Alchimista