python - 为什么 getoldtweets3 库提供 404 错误?
问题描述
我正在使用 getoldtweets3 库来抓取电晕爆发信息。我得到这个错误 -
error : C:\Users\Vilius\anaconda3\python.exe C:/Users/Vilius/PycharmProjects/Sentiment-Analysis2/twitter_analysis.py
An error occured during an HTTP request: HTTP Error 404: Not Found
尝试在浏览器中打开:https ://twitter.com/search?q=CoronaOutbreak%20since%3A2020-01-01%20until%3A2020-04-01&src=typd
即使链接正常工作,可能是什么问题? https://github.com/attreyabhatt/Sentiment-Analysis
<-我正在使用此代码
解决方案
这也是一个影响其他人的问题......
https://github.com/Mottl/GetOldTweets3/issues/98
似乎 twitter 已经删除了 GetOldTweets3 使用的端点(https://twitter.com/i/search/timeline?)。
不幸的是,可能不得不等待解决方案或找到其他一些抓取推文的方法
推荐阅读
- javascript - 如何从 SSH 连接返回值?
- arrays - 如何在节点js中获取另一个数组下的数组项的值?
- c# - Datatable.net - 服务器端处理参数
- excel - 如何对包含“/”的excel中的数字进行排序
- crash - 从超级视图中删除时,ios12.0.1 上的应用程序崩溃
- reverse-engineering - ESP8266 的安全性如何?
- json - 如何将 Result.withDefault 函数应用于产生 Result 的函数
- laravel - Laravel Dusk 无法断言看到屏幕截图中可见的文本(使用 whenAvailable for modal)
- javascript - fs.rename 回调函数未在 nodejs 文件系统中执行
- android - 单击输入时,Chrome Android React 键盘消失