D
D
Denny_Colt2017-07-22 08:36:04
Python
Denny_Colt, 2017-07-22 08:36:04

How to login to mail with Python?

Need help logging in to mail.ru. Preferably using the requests library (but it doesn't matter), and without using Api.
Or as an option, any working example of authorization with another site.
Mine doesn't work @[email protected]

import requests

s = requests.Session()
data = {'mailbox__login':'[email protected]', 'mailbox__password':'123456a'}
url = "https://mail.ru"


r = s.post(url, data=data)
r2 = requests.get('https://e.mail.ru/messages/inbox')

print(r2.text)
s.cookies

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2017-07-22
@Denny_Colt

www.telerik.com/fiddler
+
pycurl.io
Requests thanks for just uploading the file, but otherwise it's the same rotated library

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question