I
I
insta_parser2022-03-14 17:11:47
Python
insta_parser, 2022-03-14 17:11:47

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

2 answer(s)
A
Alexander, 2022-03-14
@insta_parser

for such parsing, another library is used. like Selenium. he can enter data into forms and click on links and buttons

V
Vindicar, 2022-03-14
@Vindicar

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 question

Ask a Question

731 491 924 answers to any question