Failed Logging in to Twitter Require Single-Use Code
ericariyanto opened this issue · comments
Loading .env file
Loaded .env file
Initializing Twitter Scraper...
Setup WebDriver...
Initializing ChromeDriver...
WebDriver Setup Complete
Logging in to Twitter...
Login Failed: This may be due to the following:
- Internet connection is unstable
- Username is incorrect
- Password is incorrect
I believe that error because Twitter send a Single Use Code to my email like 2 factor auth ( although I have disabled 2 factor auth ).
Is that possible if add one more step to submit Single-Use code for Login?
I have a problem too. After 3 successful logins, the fourth time I get that error.
When logging in from the web I noticed that after entering my login and password it asks me for further verification
comment this line: https://github.com/godkingjay/selenium-twitter-scraper/blob/ac2f8cc600e0d07512916aa98e8143bd9c8cb9eb/scraper/twitter_scraper.py#L129C9-L129C50
And see what the browser is expecting. Then you will know why
Yo también tengo un problema. Después de 3 inicios de sesión exitosos, la cuarta vez aparece ese error. Al iniciar sesión desde la web noté que después de ingresar mi nombre de usuario y contraseña me pide una verificación adicional
I have the same reply message. and I notice that it sends me a code to my email. has anyone already solved the case?
I have a problem too. After 3 successful logins, the fourth time I get that error. When logging in from the web I noticed that after entering my login and password it asks me for further verification
Same as mine. I think it's a part of Twitter's security mechanism.
If you want to scrape using this tool more than 3 times, you need to log in to Twitter, finish that verification first, and then run this tool again. It worked for me.