直接两种方式: session = requests.Session() session.trust_env = False response = session.get(‘http://ff2.pw’) 或者: proxies = { “http”: None, “https”: None} requests.get(“http://ff2.pw”, proxies=proxies) 都可以绕过系统设置的代理就好了
requests.exceptions.ProxyError
最新推荐文章于 2024-05-09 09:53:22 发布