如何解决提取包含特定关键字的Tweet链接
当我们搜索特定的关键字时,是否有可能获得100个拳头链接?目前,我有这段代码可获取推文数据
keyword = raw_input("Please input the CVE which you want to pull data for")
#Fetching tweets
tweets = api.search(keyword,count=1,lang='en',exclude='retweets',tweet_mode='extended')
for tweet in tweets:
print (tweet)
但是我正在寻找这样的东西。当我尝试搜索CVE-2020-1472 我应该得到以下关注
https://twitter.com/_r_netsec/status/1305102204278198273
https://twitter.com/_r_netsec/status/1305491014849720320
https://twitter.com/djrevmoon/status/1305446256525930496
https://twitter.com/dragosr/status/1307204066255073281
and so on ….
所有带有文本“ CVE-2020-1472 ”的推文链接
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。