python HTTPSConnectionPool(host='rapzh.coms', port=443)

python请求https出现这种错误

requests.exceptions.ConnectionError: HTTPSConnectionPool(host='rapzh.coms', port=443): Max retries exceeded with url:......

需要加上参数verify=False

response = requests.get(url,verify=False,timeout=2)

猜你喜欢

转载自blog.csdn.net/y_f_raquelle/article/details/84135535
今日推荐