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.68k stars 2.71k forks source link

Canot Find twitter account with name = "" #945

Open rex106 opened 3 years ago

rex106 commented 3 years ago

root@kali:~/Documents/tools/twint# twint -u Swamy39 CRITICAL:root:twint.get:User:'NoneType' object has no attribute 'find' Traceback (most recent call last): File "/usr/local/bin/twint", line 8, in sys.exit(run_as_command()) File "/usr/local/lib/python3.8/dist-packages/twint/cli.py", line 311, in run_as_command main() File "/usr/local/lib/python3.8/dist-packages/twint/cli.py", line 303, in main run.Search(c) File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 386, in Search run(config, callback) File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 285, in run get_event_loop().run_until_complete(Twint(config).main(callback)) File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete return future.result() File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 211, in main await task File "/usr/local/lib/python3.8/dist-packages/twint/run.py", line 228, in run raise ValueError("Cannot find twitter account with name = " + self.config.Username) ValueError: Cannot find twitter account with name = Swamy39

this is the error code I'm running it on linux

himanshudabas commented 3 years ago

Refer to #915. Twitter closed old API endpoints. Current version of twint is not working anymore.

Temporarily you can use #944.