Reputation: 30013
All the libraries I've tested search in twitter, let you specify the rpp (results per page) parameter but only gives you ONE page results.
It'd be cool a Python lib that provide a generator and each time gen.next() is called, a new search result is yielded. If the page is over, jump to the next page alone.
Upvotes: 0
Views: 347
Reputation: 30013
This is what I was talking about: http://github.com/ryanmcgrath/twython/commit/e9aaaa7c39dad0306fec9e83cb377975f5c2d4d5
Upvotes: 1
Reputation: 42072
I'm not sure I understand what you are asking, but I think the limit on what you can get is not a library limitation, but an API limitation (imposed by Twitter). You can read the methods available in their REST API here. Excerpt:
rpp
The number of tweets to return per page, up to a max of 100.
http://search.twitter.com/search.json?rpp=100
page
The page number (starting at 1) to return, up to a max of roughly 1500 results
(based on rpp * page).
http://search.twitter.com/search.json?page=10
Upvotes: 0