godkingjay / selenium-twitter-scraper

This is a Twitter Scraper which uses Selenium for scraping tweets. It is capable of scraping tweets from home, user profile, hashtag, query or search, and advanced searches.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.