need to send username and token, how do i do that with the requests module?
first solution: import requests r = requests.get('http://name.com', auth=('user', 'pass')) print(r.status_code)
Обсуждают сегодня