You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, i getting a error while trying to login, just saw a issue with my same problem, tried the solution below and not worked.
LOGS
] => Script started
[] => Downloading webdriver for your version of Chrome
[] => Loading Instagram
[] => Delay: 2 secs
[] => Using profile: Profile Path on windows
[] => Launching Instagram
[] => [launch_insta]: Attempt - 1
[] => Checking if user is already logged in
[] => Could not find xpath: //img[contains(@alt, ' profile picture')]
[] => Could not find xpath: //div[@Class='_acut']/div/span/img
[] => Could not find xpath: //img[@data-testid='user-avatar']
[] => User not logged in. Attempting to login
[] => Could not locate 2 factor authentication screen
[] => Could not locate 2 factor authentication screen
[] => Validating login
[] => Could not find xpath: //img[contains(@alt, ' profile picture')]
[] => Could not find xpath: //div[@Class='_acut']/div/span/img
[] => Could not find xpath: //img[@data-testid='user-avatar']
[] => Script ended with error
[] => Error: [LoginFailedError] - Failed to login. Incorrect username/password, or 2 factor verification is active.
SOLUTION MENTIONED IN OTHER ISSUE:
To save the username/password you can use the path to your browser profile (check the README). You must provide username, password, and a target even if you're using a browser profile. You use a profile.json for this too, like this:
Here, I have specified my username, password, target in myprofile.json file and using a Chrome profile. Script will automatically detect if a login is required or not.
Hello, i getting a error while trying to login, just saw a issue with my same problem, tried the solution below and not worked.
LOGS
] => Script started
[] => Downloading webdriver for your version of Chrome
[] => Loading Instagram
[] => Delay: 2 secs
[] => Using profile: Profile Path on windows
[] => Launching Instagram
[] => [launch_insta]: Attempt - 1
[] => Checking if user is already logged in
[] => Could not find xpath: //img[contains(@alt, ' profile picture')]
[] => Could not find xpath: //div[@Class='_acut']/div/span/img
[] => Could not find xpath: //img[@data-testid='user-avatar']
[] => User not logged in. Attempting to login
[] => Could not locate 2 factor authentication screen
[] => Could not locate 2 factor authentication screen
[] => Validating login
[] => Could not find xpath: //img[contains(@alt, ' profile picture')]
[] => Could not find xpath: //div[@Class='_acut']/div/span/img
[] => Could not find xpath: //img[@data-testid='user-avatar']
[] => Script ended with error
[] => Error: [LoginFailedError] - Failed to login. Incorrect username/password, or 2 factor verification is active.
SOLUTION MENTIONED IN OTHER ISSUE:
To save the username/password you can use the path to your browser profile (check the README). You must provide username, password, and a target even if you're using a browser profile. You use a profile.json for this too, like this:
python3 ilcbot.py -pr myprofile.json --brprofile '/home/mycomputer/.config/google-chrome/Profile 1'
Here, I have specified my username, password, target in myprofile.json file and using a Chrome profile. Script will automatically detect if a login is required or not.
Originally posted by @shine-jayakumar in #77 (comment)
The text was updated successfully, but these errors were encountered: