-
Notifications
You must be signed in to change notification settings - Fork 603
JSONDecodeError: Expecting value: line 1 column 1 (char 0) #168
Comments
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 Foo-Manroot/tweet-feed#1 (comment) Dont know if this method is good enough. |
Here is my attempt at a solution based on @Foo-Manroot instructions. |
Same issue |
Found another source of tweets - widgets at https://publish.twitter.com/ |
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. |
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 |
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 |
Running the minimal example crashes with an error:
The text was updated successfully, but these errors were encountered: