Hi,
I'm trying to retrieve 500 pages from a wiki at a time using
PreloadingGenerator and I receive the warning "Too many values
supplied for parameter 'pageids': the limit is 50".
I checked by using the query [1] when logged in as a bot and it works
(I do not get the warning), so I suppose the issue is with my
pywikibot.
I tried to make sure I was logged in [2], then ran the code again and
I still get the warning. On the other hand, page updates are done
correctly (with the bot username). The code I use is more or less the
following:
transGen = pagegenerators.ReferringPageGenerator(rowTemplate,
onlyTemplateInclusion=True,
step=1000)
filteredGen = pagegenerators.NamespaceFilterPageGenerator(transGen,
[namespace], site)
pregenerator = pagegenerators.PreloadingGenerator(filteredGen, 500)
Any ideas on how to debug further?
Thanks,
Strainu
[1]
https://commons.wikimedia.org//w/api.php?maxlag=5&rvprop=ids|flags|timeā¦
[2] I have a private app, so I added the access information directly
in user-config.py