Closed punktik closed 7 years ago
@punktik im not sure about that but i have an idea. Maybe the problem is password characters. Did you try changing password to normal ones ?
You using VPS to run the Instapy project? Or you using your computer . I have meet the same problem before and solved it by changing my VPS ip adress . If its in your computer try to browse www.instagram.com and see if it return 200 and try to login there . If you have logged in then its not a banned ip ... As @ugurozturk said maybe try changing the password for normal one and see if it works :+1:
if your username or password contains language specific characters like òç § please can you try to perform a test using just [a-z] or [A-Z] just to delineate the issue as suggested by @ugurozturk ?
My Login fails as well and I have a password with no specific characters
Did you try to do " git pull " ? Maybe it will fix your problem . Also have you tried to login to www.instagram.com from your browser not from instapy?
please try also to delete or comment your username and password variables and just put your username and password in
session = InstaPy(username=insta_username, password=insta_password, nogui=True)
To describe the problem a bit more detailed: Seems like when entering the password, the InstaPy Bot clicks the wrong field (cursor is moving into password field, but then clicks on: show all google chrome password or sth, which then opens a new page with google settings). Does this help? :)
What is your default browser language ? Maybe it browsing not in english? Because you Parse the Login button . As it seems you using Windows for instapy?
I am on Linux, on VPS. I did also start it with GUI active. And doing git pull indeed solved my issue. Also had to start chrome normally with X11 forwarding and approve the login. (May be this would be helpful to anyone) Running and liking. THnk you for helping out, guys!
Expected Behavior
Login
Current Behavior
Fails to fill up username and password correctly - when executing everytime it meets a letter "r" it changes the field, and so fails to fill in the username and password to correct fields and vaules.
Thank you in advance for your help!