Answer the question
In order to leave comments, you need to log in
How to use Python to pass two-step authentication on the site?
Hello! Can you please tell me how to use Python (and additional libraries) to pass two-step authentication on the site https://id.vedomosti.ru/sign_in?
I only found a way using requests.Session(), in which entering a login and password is done in one step.
On the Vedomosti website, you first need to enter the mail, then their server checks whether the entered mail is in their database, and if so, then go to the second step "Entering the password".
Thank you!
Answer the question
In order to leave comments, you need to log in
It doesn't refresh the page. I think it's worth using session and see what data it sends and when. And actually repeat them. Look in the Network Developer Console. Probably, it will be enough to copy the POST request there and save the token somewhere.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question