Answer the question
In order to leave comments, you need to log in
How to parse a site so that the parser works under my account?
I need to parse my grades from an electronic diary. How can I make the parser work with my account.
Answer the question
In order to leave comments, you need to log in
for such parsing, another library is used. like Selenium. he can enter data into forms and click on links and buttons
It is almost certain that the site uses cookies to store the session, ie. to understand that two or more requests came from the same user.
Most HTTP libraries provide a mechanism for storing cookies. The same requests, for example.
Then you figure out what request you need to make to the site in order to log in, and you make this request. Then, within the framework of the same session (read the documentation for the library used!) You execute the page requests you need.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question