Hi Leonard,
On 01/07/2014 12:07 PM, Leonard Wallentin wrote:
Hello,
I wonder if there are any pywikibot wizards on the list who can help me
getting on the right track;
Your questions about PyWikiBot have a higher chance of find answers at
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
I have been fetching data from WikiData like this:
`action=wbgetentities&languages=XXX&props=labels|claims&ids=Q100|Q101|Q102`
Now I want to try doing the same thing with pywikibot, to make logging in
etc easier, but I can't find out how to fetch data for more than one page
at a time. So far I've found `pagegenerators.PagesFromTitlesGenerator` to
generate a collection of page titles, but I don't know what to do with it
(other than iterate through it to fetch one page at a time...) What am I
missing?
Thanks in advance for any advice!
Leo
--
Quim Gil
Technical Contributor Coordinator @ Wikimedia Foundation
http://www.mediawiki.org/wiki/User:Qgil
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l