Getting error Login Failed: 'NoneType' object is not iterable
When I did the ReadMe instructions, it returns following error: Get the code, Install requirement.txt Update env file. Run command -> python scraper --user=@myusername --password=mypassword
Loading .env file
Loaded .env file
Initializing Twitter Scraper...
Setup WebDriver...
Initializing FirefoxDriver...
WebDriver Setup Complete
Logging in to Twitter...
Login Failed: 'NoneType' object is not iterable
Add your TWITTER_MAIL in .env :)
My .env file looks like.
[email protected]
TWITTER_PASSWORD=******
And running following in cmd
python scraper --user=@myusername --password=mypassword
still doesn't work. Same error. Missing something?
My .env file looks like.
[email protected] TWITTER_PASSWORD=******And running following in cmd
python scraper --user=@myusername --password=mypasswordstill doesn't work. Same error. Missing something?
I had the same issue, and I changed my .env for
TWITTER_USERNAME=PierreMiniggio
[email protected]
TWITTER_PASSWORD=somepassword
and then it worked.
Add your TWITTER_MAIL in .env :)
I think my current .env is what @agnesmm meant with her own reply to you.
@pierreminiggio, Thanks for your response. I tried and it worked for me as well!
This worked for me, thanks