Comments (9)
Thank you so much :)
from insta-likecom-bot.
Please share a screenshot and the error log.
from insta-likecom-bot.
from insta-likecom-bot.
Exception: Failed to login. Incorrect username/password, or 2 factor verification is active.
[2022-10-02 21:45:55,728]:[main]:[:145]:[INFO]:Script started
[2022-10-02 21:45:55,728]:[main]:[:158]:[INFO]:Downloading webdriver for your version of Chrome
[2022-10-02 21:45:55,728]:[main]:[:160]:[INFO]:Initializing instagram user
[2022-10-02 21:45:57,165]:[main]:[:169]:[INFO]:Setting target to: #foodiesinbangalore
[2022-10-02 21:45:57,165]:[main]:[:177]:[INFO]:Attempting to log in with tbkrollsngrills
[2022-10-02 21:45:59,261]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //div[@Class="_acut"]/div/span/img
[2022-10-02 21:46:06,752]:[instafunc]:[validate_login:147]:[ERROR]:Could not find user's profile with xpath: //div[@Class="_acut"]/div/span/img
[2022-10-02 21:46:06,752]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //img[@data-testid="user-avatar"]
but id and pass is correct and there is not two factor authentication
from insta-likecom-bot.
Malayali?
from insta-likecom-bot.
Exception: Failed to login. Incorrect username/password, or 2 factor verification is active. [2022-10-02 21:45:55,728]:[main]:[:145]:[INFO]:Script started [2022-10-02 21:45:55,728]:[main]:[:158]:[INFO]:Downloading webdriver for your version of Chrome [2022-10-02 21:45:55,728]:[main]:[:160]:[INFO]:Initializing instagram user [2022-10-02 21:45:57,165]:[main]:[:169]:[INFO]:Setting target to: #foodiesinbangalore [2022-10-02 21:45:57,165]:[main]:[:177]:[INFO]:Attempting to log in with tbkrollsngrills [2022-10-02 21:45:59,261]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //div[@Class="_acut"]/div/span/img [2022-10-02 21:46:06,752]:[instafunc]:[validate_login:147]:[ERROR]:Could not find user's profile with xpath: //div[@Class="_acut"]/div/span/img [2022-10-02 21:46:06,752]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //img[@data-testid="user-avatar"]
but id and pass is correct and there is not two factor authentication
What is the next line after: Validating login with xpath: //img[@data-testid="user-avatar"]
?
from insta-likecom-bot.
[2022-10-03 10:59:47,926]:[main]:[:265]:[INFO]:Total time taken: 67.1914 seconds
[2022-10-03 11:01:08,324]:[main]:[:145]:[INFO]:Script started
[2022-10-03 11:01:08,324]:[main]:[:150]:[INFO]:Loaded comments from mycomments.txt
[2022-10-03 11:01:08,324]:[main]:[:158]:[INFO]:Downloading webdriver for your version of Chrome
[2022-10-03 11:01:08,324]:[main]:[:160]:[INFO]:Initializing instagram user
[2022-10-03 11:01:09,754]:[main]:[:169]:[INFO]:Setting target to: #foodiesinbangalore
[2022-10-03 11:01:09,754]:[main]:[:177]:[INFO]:Attempting to log in with tbkrollsngrills
[2022-10-03 11:01:11,605]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //div[@Class="_acut"]/div/span/img
[2022-10-03 11:01:41,966]:[instafunc]:[validate_login:147]:[ERROR]:Could not find user's profile with xpath: //div[@Class="_acut"]/div/span/img
[2022-10-03 11:01:41,966]:[instafunc]:[validate_login:143]:[INFO]:Validating login with xpath: //img[@data-testid="user-avatar"]
[2022-10-03 11:02:12,455]:[instafunc]:[validate_login:147]:[ERROR]:Could not find user's profile with xpath: //img[@data-testid="user-avatar"]
[2022-10-03 11:02:12,455]:[main]:[:259]:[ERROR]:Script ended with error : Failed to login. Incorrect username/password, or 2 factor verification is active.
Traceback (most recent call last):
File "C:\Users\91989\Desktop\TBK\insta-likecom-bot-master\insta-likecom-bot-master\instalikecombot.py", line 180, in
raise Exception("Failed to login. Incorrect username/password, or 2 factor verification is active.")
Exception: Failed to login. Incorrect username/password, or 2 factor verification is active.
[2022-10-03 11:02:14,853]:[main]:[:265]:[INFO]:Total time taken: 66.5297 seconds
it is now logging in but after logging in this error is coming
from insta-likecom-bot.
Still it's the same. Not it's logging in but error is coming
from insta-likecom-bot.
Still it's the same. Not it's logging in but error is coming
Once the script is able to successfully login with the username/password, it uses the user's profile image to confirm that the login was successful. Currently, we've been only able to find two xpaths:
//div[@class="_acut"]/div/span/img
and //img[@data-testid="user-avatar"]
Instagram keeps updating the xpaths frequently and the page would load the element with different xpaths at times.
I've added another xpath and merged the code to master branch. You can pull the new code and try again.
from insta-likecom-bot.
Related Issues (20)
- Crash Liking Story - [*] => Error: [NoSuchElementException] - Message: no such element: Unable to locate element: {"method":"css selector","selector":"._abx4"}
- Cannot load webdriver for Chrome
- Aborts few seconds after loading Firefox
- Unable To Like And Comment On Stories HOT 1
- Unable to interact with Reels
- Error on run HOT 3
- Doest install requirements HOT 2
- [New Feature] Add the functionality to follow user from a list
- Showing an error HOT 1
- Can I tag people in comments from a list of users? HOT 1
- Not working on windows? HOT 3
- Skip posts/reels already commented - Doesn't work
- An error while running HOT 1
- Macos starting error HOT 1
- Class issue in 3.0.5
- Locator Error on v.05 HOT 3
- 2 factor error without 2 factor activated
- Liking function seems to be not working well HOT 4
- login verification issue HOT 2
- login issues HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from insta-likecom-bot.