使用requests的时候报错:
.virtualenvs/py3/lib/python3.6/site-packages/urllib3/connectionpool.py:858: 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
按照提示查看:
https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
在文件顶部加上以下语句就不报错了
import urllib3 urllib3.disable_warnings()