Trying to authenticate on http://72.ru site, noticed that there were a redirect to https://loginka.ru/auth/. Found that there were 302 POST with plain credentials in data form. Copying headers from Chrome can reproduce that in cURL, but still can't reach in requests module.
Warning: page is full of russian letters, registration in the box north-east
with requests.Session() as s:
s.auth = ('EMAIL', 'PASSWD')
s.post('http://72.ru/passport/login.php')
p = s.get('http://72.ru/job/favorite/vacancy/')
# will print True if logged
print('some title from favorite page, if logged' in p.text)
Why can't authenticate, what am I doing wrong?
There is a much simpler way to perform login to this website.