问题更多是关于Twitter API,而不是tweepy本身。
根据文档,
count参数定义:
每页返回的推文数量,最多100条。默认值为15。这以前是旧Search API中的“ rpp”参数。
仅供参考,您可以
tweepy.Cursor用来获取分页结果,如下所示:
import tweepyauth = tweepy.OAuthHandler(..., ...)auth.set_access_token(..., ...)api = tweepy.API(auth)for tweet in tweepy.Cursor(api.search, q="google", count=100, result_type="recent", include_entities=True, lang="en").items(): print tweet.created_at, tweet.text
另请参阅:https :
//github.com/tweepy/tweepy/issues/197。
希望能有所帮助。



