天天看點

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

如果遇到這樣的提示,隻需要在請求語句裡面添加verify = Flase,例如:

result = requests.get(api,verify=False).text.encode(‘utf-8’)