A
A
Artyom2020-04-27 19:53:50
Python
Artyom, 2020-04-27 19:53:50

How to write authorization on the site, in python?

I'm a total newbie, and 100% someone has asked similar questions before, but I don't know how to phrase it correctly.
I want to write my own bot for telegrams, as a practice, which will parse information according to estimates from the diary service, but as I understand it, for this I need to write authorization to this site in the bot (authorization for public services, because in my region it passes through it), and now I have a question how is it all implemented? For the first time I will work with the request library and parse in principle, so please do not throw slippers and delete the question ..

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Karbivnichy, 2020-04-27
@shindayoni

Better to start through the browser, log in and copy the cookies from the browser to the requests library. This will make it easier to get started.
Further it will be possible to use selenium for authorization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question