Skip to content
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.

Не могу отправить код подтвреждения #75

Open
ApollonSeven opened this issue Jan 15, 2020 · 1 comment
Open

Comments

@ApollonSeven
Copy link

from instagram import WebAgentAccount, Media, Account

agent = WebAgentAccount("login")
agent.auth("password")

При авторизации не получаю ответ в виде авторизационной страницы, которую нужно указывать для метода сheckpoint. В итоге не могу авторизоваться. Может я что-то неправильно делаю?!

@evgenyadev
Copy link

        except CheckpointException as error:
            agent.checkpoint_send(error.checkpoint_url, error.navigation['forward'], 0)
            secr_code = input("Enter code from SMS: ")
            agent.checkpoint(error.navigation['forward'], secr_code)

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

No branches or pull requests

2 participants