Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login problem #17

Open
reynard225 opened this issue Jul 20, 2020 · 1 comment
Open

Login problem #17

reynard225 opened this issue Jul 20, 2020 · 1 comment

Comments

@reynard225
Copy link

hello please help to fix the login problem..

██╗███╗ ██╗███████╗████████╗ █████╗ ██████╗ ██████╗ ████████╗
██║████╗ ██║██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔═══██╗╚══██╔══╝
██║██╔██╗ ██║███████╗ ██║ ███████║██████╔╝██║ ██║ ██║
██║██║╚██╗██║╚════██║ ██║ ██╔══██║██╔══██╗██║ ██║ ██║
██║██║ ╚████║███████║ ██║ ██║ ██║██████╔╝╚██████╔╝ ██║
╚═╝╚═╝ ╚═══╝╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═════╝ ╚═════╝ ╚═╝

An instagram bot works without instagram api github.com/eVanilla/instabot.rb

PROCESSING: checking log files
[+] [TOR] STARTED
[+] [TOR] current ip [23.129.64.185]
PROCESSING: protocol created
[+] Processing successfully completed
[+] Trying to login as [reynx1]
[-] NoMethodError undefined method `password=' for #Mechanize::Form:0x000000027a4ca0
check out the log file for full trace
bitnami@ip-172-26-3-141:~/ruby/instaBot$

@alagos
Copy link

alagos commented Jan 15, 2021

I tried to fix this and the problem relies in the login form, as the password field was changed to enc_password in the instagram page. The problem is that the enc_password is encoded using some js libraries before being submitted.
Personally, I gave up fixing this gem, so I'm considering to use instapy (python) or instauto (js) instead (no pun intended), where both use headless browsers to connect (selenium and puppeteer respectively), so they don't worry about those js problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants