Answer the question
In order to leave comments, you need to log in
How to check if authorization on the site has passed?
Hello.
I wrote the authorization code, how to check that the authorization passed?
url = 'https://minergate.com'
login = 'admin'
password = 'admin'
s = requests.Session()
r = s.get(url, auth=(login, password))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question