Tweeter API:如何使用Tweepy.cursor按关键字(例如王牌)搜索并按关注者数量(例如大于10000个)搜索]]

问题描述 投票:0回答:1
results = [] 
for tweet in tweepy.Cursor(api.search,
                           q="coronavirus",
                           result_type="recent",
                           include_entities=True,
                           wait_on_rate_limit=True,
                           wait_on_rate_limit_notify=True,
                           lang="en").items(50):
        results.append(tweet)

我知道如何使用tweepy.cursor搜索关键字。但我只想添加一条推文,即特定用户的关注者超过10000个且满足关键字条件。我不确定如何同时执行这两件事。有人可以帮忙吗?谢谢!

results = [] for tweepy.Cursor(api.search,q =“ coronavirus”,result_type =“ recent”,include_entities = True,...

tweepy
1个回答
0
投票

以下是Twitter状态JSON示例:https://pastebin.com/UB5XbrHe

© www.soinside.com 2019 - 2024. All rights reserved.