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

KeyError: 'legacy' #1418

Open ghost opened 2 years ago

ghost commented 2 years ago

Command Ran

def fetch_user_info(username): c = twint.Config() c.Username = username c.Hide_output = True c.Store_object = True twint.run.Lookup(c) return twint.output.users_list[0]

Description of Issue

I keep getting the same error: _usr.name = ur['data']['user']['legacy']['name'] KeyError: 'legacy'

Environment Details

Linux, on Jupyter Notebook