Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

KeyError: 'legacy' #1418

Open
ghost opened this issue May 12, 2022 · 0 comments
Open

KeyError: 'legacy' #1418

ghost opened this issue May 12, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented May 12, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

0 participants