GithubHelp home page GithubHelp logo

Comments (9)

zgtibu avatar zgtibu commented on August 25, 2024 1

Thank you so much :)

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on August 25, 2024

Please share a screenshot and the error log.

from insta-likecom-bot.

zgtibu avatar zgtibu commented on August 25, 2024

image

from insta-likecom-bot.

zgtibu avatar zgtibu commented on August 25, 2024

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.

zgtibu avatar zgtibu commented on August 25, 2024

Malayali?

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on August 25, 2024

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.

zgtibu avatar zgtibu commented on August 25, 2024

[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.

zgtibu avatar zgtibu commented on August 25, 2024

Still it's the same. Not it's logging in but error is coming

from insta-likecom-bot.

shine-jayakumar avatar shine-jayakumar commented on August 25, 2024

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/imgand //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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.