解决报错requests.exceptions.ConnectionError: HTTPSConnectionPool(host=‘xxx’, port=443): Max retries exceeded with url 使用requests时出错
下载以下第三方包
certifi、cryptography、pyOpenSSL
在网页请求中加入:verify=False,设置requests移除ssl认证
设置此项参数后,程序可能频繁发出警告,可通过以下设置禁用该警告:urllib3.disable_warnings()
设置程序访问延迟
可利用time,sleep()暂时阻塞程序运行,防止单位时间内访问过于频繁