urllib3 不验证ssl
import urllib3
# 禁用警告
urllib3.disable_warnings()
# urllib3 不验证ssl
_pool_params = dict(cert_reqs='CERT_NONE', assert_hostname=False)
url = 'https://www.baidu.com'
http = urllib3.PoolManager(**_pool_params)
res = http.request('get', url)
print(res.status)