You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ouch, didn't know that. I'm not the original author of this library, I just maintain it. Guess the limit is just the number of items it retrieves in each batch then. That should at least be documented.
In that case you can either do something like this to get the first 10 elements:
Hi,
im trying to use random() and recentchanges() but everytime i print the output of one of them i get this:
>>random = site.random(namespace=0, limit=10)
>>random
<List object 'random' for <Site object 'test.wikipedia.org/w/'>>
and the same for recentchanges()
>>> recent = site.recentchanges()
>>> recent
<List object 'recentchanges' for <Site object 'test.wikipedia.org/w/'>>
I can't figure out what i'm doing wrong. Im using Python 3.
Thanks.
The text was updated successfully, but these errors were encountered: