-
Notifications
You must be signed in to change notification settings - Fork 125
[Question] still 404 error.. #101
Comments
用不了了 换其他项目 |
Same problem here... hopefully someone will manage to fix it soon... |
I found a temporary work around that can be used until the 404 issue is fixed. It involves the requests and bs4 (Beautiful Soup) libraries contents = requests.get("https://mobile.twitter.com/username") tweets = soup.find_all("tr", {"class":"tweet-container"}) This will give you a list with the html for, if my counting is correct, the last 20 tweets from that account. Obviously, this is not as good of a program as GOT3, but it will help while we wait for the error to be fixed. A few things to note: 1. You have to use the mobile link. It does not work with the normal link. (This can obviously still be ran on a desktop computer even with the mobile link) 2. You can use .text to print the tweet/store it to a variable without all the html code. |
Seems there is no solution till now. However, I stumbled upon Twint https://github.com/twintproject/twint that does the same thing. Works like a charm. |
so 👀, any word on a fix yet? |
still no solution |
Persists no solution |
Has anyone solved the 404 error (recent endpoint issue)?
I'd appreciate it if you could tell me how to do it.
Thank you for your reply !
The text was updated successfully, but these errors were encountered: