import twint
import os, requests, re, time
c = twint.Config()
c.Username = <anyusername> #Replace with an actual uname in quotes
c.Store_object = True
c.Limit = 10
try:
twint.run.Followers(c)
except:
print("Unexpected error:", sys.exc_info()[0])
f = twint.output.follows_list
print(f)
Output
CRITICAL:root:twint.feed:Follow:IndexError
[]
Have done
pip install twint
pip install --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint
Googling, a lot of people have faced this error - but I cannot really find a solution
Running the twint command line also gives the same error
twint -u <uname> --followers
CRITICAL:root:twint.feed:Follow:IndexError
This is not only followers. Anything I try, I get a similar error.
Running Python 3.8.1 on Windows 10
Twint - latest version - 2.1.21
from Twint: CRITICAL:root:twint.feed:Follow:IndexError for any call
No comments:
Post a Comment