N
N
NN2021-11-22 23:57:21
Python
NN, 2021-11-22 23:57:21

Login to the site and data parsing, how to implement?

Hello, I am making a program for personal use, as well as for teaching myself
There is a mobile operator website, I want to use this site to make a program for a PC
Based on Tkinter, for visualization
But there is a problem, you need to log in to the site by entering the number after (on that same page) enter the code that will come to the phone, you need to do it through the application, but how? I don't know how to make it so that I can log in to the site through Python (there is no problem with parsing)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vindicar, 2021-11-23
@Vindicar

What library are you using? You look at what request to the site is made during authorization in the browser, imitate it, save the cookies returned by the site, then you specify these cookies on subsequent requests.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question