urllib3 certificate verify failed: unable to get local issuer certificate
取消urllib3
打开https
链接的ssl
验证。加上cert_reqs=ssl.CERT_NONE
参数即可
import urllib3
url = "https://www.baidu.com"
urllib3.disable_warnings()
http = urllib3.PoolManager(cert_reqs=ssl.CERT_NONE, assert_hostname=False)
response = http.request("GET", url)
print(response.data)