将request请求设置verify=False时,如下面,会出现下面的警告错误,
response = requests.get(url=url, headers=headers, verify=False)

InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
      InsecureRequestWarning)

解决方法:
在导入模块的前面设置下面俩句就解决这个警告了。

from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

可以参考下面链接看看具体原因,我没有很研究这个。
https://stackoverflow.com/questions/27981545/suppress-insecurerequestwarning-unverified-https-request-is-being-made-in-pytho