import requestsgit
s = requests.Session()github
s.trust_env = Falsespa
This will prevent requests getting any information from its environment: specifically, it'll disable environment searches for proxies and for certificate bundles.orm
參考: ci
Proxy bypass detection could add delay of ~4.5 seconds to each requestget