提取包含特定关键字的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 (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...