Open RasmusFonseca opened 4 years ago
Same here - python 3.7.4
same issue. python 3.7.6
The response might be empty due to the request failed.
ok, Why would the request failed? I have tried with a bunch of account names but still getting the same error. Has there been any change on the script?
While trying parsing from Hashtags, it works. The issue is specific to parsing profile tweets
It is because the url request for the user profile is somehow unavailable. See issue #166, the user-agent that this module is using cannot get the proper response now. Maybe Twitter has banned the user-agent, or maybe Twitter has changed all their website into Client Side Rendering causing request-html failed to get the elements that it usually could.
@yimingStar Agree. Looks like twitter has made some major changes.
If anyone interested in a workaround, please check this out @yimingStar @bisguzar
https://github.com/Foo-Manroot/tweet-feed/issues/1#issuecomment-686635709
Dont know if this method is good enough.
Here is my attempt at a solution based on @Foo-Manroot instructions. https://gist.github.com/dgnsrekt/8cdb0c10e4a8fe6dcef65ee3a66a4e33 I'm having an issue with getting rate limited. Once, I can get past that issue I can make it nice and pretty and submit a pull request.
Same issue
Found another source of tweets - widgets at https://publish.twitter.com/
Get JSON from https://syndication.twitter.com/timeline/profile?screen_name=<NAME>
The information there is incomplete, for example, there are no likes, retweets, etc. But there is no rate limit.
Found another source of tweets - widgets at https://publish.twitter.com/ Get JSON from
https://syndication.twitter.com/timeline/profile?screen_name=<NAME>
The information there is incomplete, for example, there are no likes, retweets, etc. But there is no rate limit.
Could you tell me how to do that! Many thanks!
Everything is very simple - we take JSON from the link, take from it the “body” field with the timeline and parse it as usual. JSON also has "minPosition" and "maxPosition" headers for pagination. Implemented in my Go project https://github.com/n0madic/twitter-scraper.
I have the same issue on Python 3.8.2. Everyone know other library for scrapper or know If the new API twitter version allows to get tweets from more than seven days ago? Thanks a lot.
I have the same issue on Python 3.6, Google colab.
Same issue on python 3.8.5
I got the same issue with python 3.8.2 on windows 10 while trying to use get_trends
dead library
Does this library actually works or it is taken down by twitter. I am not able to use any of the commands provided by the authors.
Not working for now @dheeman00 , it need to be refactored according to latest Twitter update.
I have same error on termux python 3.11.1 twitter-scraper (3.12.0)
Running the minimal example crashes with an error: