Answer the question
In order to leave comments, you need to log in
How to navigate to a previous redirect in python requests?
r1 = requests.post('http/станица входа', params = {'login' : 'Rapt', 'pass' : '12345'})
print(r1.url)
>>> http/главная страница
r2 = requests.post('http/главная страница' params = {'searsh': 'Ролики'})
print(r2.url)
>>> http/страница входа
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