本文介绍了为什么 getoldtweets3 库提供 404 错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 getoldtweets3 库来抓取电晕爆发信息.我收到此错误 -

I'm using getoldtweets3 library to scrape corona outbreak information. I get this error -

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 <- 我正在使用此代码

Even though link is working, what might be the problem? https://github.com/attreyabhatt/Sentiment-Analysis <- I'm using this code

推荐答案

这是一个影响其他人的问题...

This is an issue that's affecting others as well...

https://github.com/Mottl/GetOldTweets3/issues/98

似乎 twitter 已经删除了 GetOldTweets3 使用的端点(https://twitter.com/我/搜索/时间线?).

It seems as if twitter has removed the endpoint the GetOldTweets3 uses (https://twitter.com/i/search/timeline?).

不幸的是,可能不得不等待解决方案或找到其他一些抓取推文的方法

Probably going to have to wait for a solution or find some other method of scraping tweets unfortunately

这篇关于为什么 getoldtweets3 库提供 404 错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 17:02