解决HTTPSConnectionPool(host=‘‘, port=443): Max retries exceeded with url: /api/container/ge

如果遇到这样的提示,只需要在请求语句里面添加verify = Flase,例如:
result = requests.get(api,verify=False).text.encode(‘utf-8’)

你可能感兴趣的:(http,请求问题,爬虫问题,python,pycharm)