https ca + key + password
session = requests.Session() session.mount('https://', SSLAdapter(certfile, keyfile, password)) session.get(url)
http auth认证 user password
session.get(...., auth=('user', 'password'))
https ca + key + password
session = requests.Session() session.mount('https://', SSLAdapter(certfile, keyfile, password)) session.get(url)
http auth认证 user password
session.get(...., auth=('user', 'password'))