OlegYurchik / pyInstagram

This is a simple and easy-to-use library for interacting with the Instagram. The library works through the web interface of the Instagram and does not depend on the official API
MIT License
232 stars 49 forks source link

ошибка аутентификации #85

Open antkovale opened 4 years ago

antkovale commented 4 years ago

Не проходит аутентификация. Нужно обновить функцию auth в классе WebAgentAccount: Добавить в settings["headers"] "Content-Type": "application/x-www-form-urlencoded", Добавить str_time = str(int(time.time())) Изменить password на password = '#PWD_INSTAGRAM_BROWSER:0:' + str_time + ':' + password Изменить settings["data"].update({"username": self.username, "password": password}) на settings["data"].update({"username": self.username, "enc_password": password})

OlegYurchik commented 4 years ago

Могли бы Вы описать это в отдельном Pull Request? Спасибо