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.75k stars 2.72k forks source link

CRITICAL:root:twint.get:User:'NoneType' object is not subscriptable #1162

Open barripdmx opened 3 years ago

barripdmx commented 3 years ago

Hi,

Running this in Anaconda for Windows10 Python 3.8.5 Last Twint

PROBLEM:

CRITICAL:root:twint.get:User:'NoneType' object is not subscriptable CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 15 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 15 secs CRITICAL:root:twint.run:Twint:Feed:noDataExpecting value: line 1 column 1 (char 0) sleeping for 27.0 secs

I have tried with VPN and it does not work either. Any solution?

Best Regasds jb

pifabs commented 3 years ago

try the ff. steps

$ pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint

In my case after running the comand above another error occured which says: _pkgresources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not found and is required by requests

just install requests package with:

$ pip3 install requests

edvilme commented 3 years ago

try the ff. steps

$ pip3 install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint

In my case after running the comand above another error occured which says: _pkgresources.DistributionNotFound: The 'idna<3,>=2.5' distribution was not found and is required by requests

just install requests package with:

$ pip3 install requests

Been stuck for some time on this. This resolved it. Thanks a lot!

moritzschaefer commented 2 years ago

duplicate of #1119