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

CRITICAL:root:twint.feed:Follow:IndexError #1206

Open yuis-ice opened 3 years ago

yuis-ice commented 3 years ago

Command Ran

$ twint -u coinbureau --followers -l 50
CRITICAL:root:twint.feed:Follow:IndexError

Description of Issue

As the console output. I have no idea what the error means though.

Environment Details

Ubuntu 18.04.5 LTS

python --version Python 3.6.9

pyenv --version pyenv 1.2.22-16-ga7f44c39

pip --version pip 21.1.1

virtualenv --version virtualenv 20.4.6

ghost commented 3 years ago

You typed "-l 50" but "-l" is the same as "--lang". I guess it doesn't let you define the language as 50. If you type "twint -h" in the terminal where you installed the twint, you can get detailed information about the commands.

yuis-ice commented 3 years ago

Okay, as I read one issue on github https://github.com/twintproject/twint/issues/340 I happened to misread "-l" for "--limit". But kindly note that the error can be totally reproducible with/without the option.

dK0y commented 3 years ago

I'm seeing the same.

resp = await response.text() in get.py is followed by a check for a 429 status, but for me it's always returning a 401 status (unauthorized), the code will then continue with an empty response.

isaacxbt commented 3 years ago

same error

vlasvlasvlas commented 3 years ago

same error

Wulfheart commented 3 years ago

Does neither work with the Dockerfile. Any idea how to fix this? It seems related to the fact that a user has to be authenticated to access the followers.

dK0y commented 3 years ago

I think you'll need to:

1) purchase twitter 2) then tell your developers to make the followers etc available again from the mobile 'guest' account which seems to be the workaround that twint used to obtain them but that is no longer available.

n00b21337 commented 2 years ago

Maybe would be nice that developers inform us that this part is no longer working? I was having high hopes with this and see I cant use it now, wondering will it be deprecated in future or ?

shizia commented 2 years ago

same here

seanPhill commented 2 years ago

Is there or will there be soon, a way to authenticate with Twitter in order to get a list of following or followers?

Aside from, of course, simply using Twitter the "normal" way.