N
N
Nikolai Sidorenko2014-11-30 18:40:21
Python
Nikolai Sidorenko, 2014-11-30 18:40:21

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/страница входа

Why didn't I go to the main page during the second transition?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alternativshik, 2014-11-30
@NSidorov

Because it's not logged in.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question