问题描述
如何解除InsecureRequestWarning警告?
添加以下代码即可
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
问题描述
如何解除InsecureRequestWarning警告?
添加以下代码即可
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)