python 爬虫:https; HTTPSConnectionPool(host='z.jd.com', port=443)
1.第一种方案importrequestsrequests.get('https://www.zhihu.com/',verify=False)2.第二种方案由于python2不支持SNI,具体SNI了解转:http://blog.csdn.net/makenothing/article/details/53292335如果想python2支持SNI,pip安装3个模块:1.pyOpenSSL2.