requests.exceptions.SSLError: HTTPSConnectionPool问题
1.关闭证书验证在requests.get加入verify=False
response = requests.get(‘http://xxx.com/’, headers = header, verify=False)
2.安装三个安装包
pip install cryptography
pip install pyOpenSSL
pip install certifi
3.导入urllib3包
import urllib3
urllib3.disable_warnings() #这个添加在 requests.get(‘http://xxx.com/’, headers = header, verify=False)上面一行
4.结果
再次运行可以看到已经Ok了