twintproject / twint

An advanced Twitter scraping & OSINT tool written in Python that doesn't use Twitter's API, allowing you to scrape a user's followers, following, Tweets and more while evading most API limitations.
MIT License
15.66k stars 2.72k forks source link

No tweets returned #969

Open xiaowei-xw opened 3 years ago

xiaowei-xw commented 3 years ago

Description of Issue

I ran the above code, but it did not return any results. I tried a few computers, but the results did not return. what happened? what should I do next?

CRITICAL:root:twint.get:User: CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 1.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 8.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 27.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 64.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 125.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 216.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 343.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 512.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 729.0 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) CRITICAL:root:twint.run:Twint:Feed:Tweets_known_error:Expecting value: line 1 column 1 (char 0) Expecting value: line 1 column 1 (char 0) [x] run.Feed[!] if get this error but you know for sure that more tweets exist, please open an issue and we will investigate it!

Environment Details

Windows, Jupyter Notebook

reobroqn commented 3 years ago

Same

Qriist commented 3 years ago

same here

UlucFVardar commented 3 years ago

same

reobroqn commented 3 years ago

pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint I have just re-installed using above command and it works.

Qriist commented 3 years ago

pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint I have just re-installed using above command and it works.

Looks like the version got bumped but didn't get to the pip repository yet. I confirm the above command works. :)

975278060 commented 3 years ago

I wonder if it can't be used anymore

Qriist commented 3 years ago

I wonder if it can't be used anymore

Use this command: pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint

UlucFVardar commented 3 years ago

fail.txt command still not work. Fail file have all terminal outputs for pip command (my python is 3.6)

975278060 commented 3 years ago

I used the command again or not. It's still the same problem. As far as I know, Twitter has been updated. I don't know whether this method can continue to be used

JennyKang27 commented 3 years ago

same problem

reobroqn commented 3 years ago

Try to uninstall it, then install again using above command I'm still using it to experiment. This git really really needs a clear documentation. I'm getting crazy to dive into it. image

xiaowei-xw commented 3 years ago

pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint I have just re-installed using above command and it works.

error

ooh, what happened? help, help, help

reobroqn commented 3 years ago

Read what it says bro! You didn't install git command nor add path of git command, https://stackoverflow.com/questions/29565779/cannot-find-command-git-windows

HegdeChaitra commented 3 years ago

A temporary fix can be used from #941 . The twint needs to be installed using pip3 install --user --upgrade git+https://github.com/yunusemrecatalcam/twint.git@twitter_legacy2 (#917 )

975278060 commented 3 years ago

I uninstalled and reinstalled it is fine, thank you pip3 install --user --upgrade git+https://github.com/yunusemrecatalcam/twint.git@twitter_legacy2