InsecureRequestWarning: Unverified HTTPS request is being made.解决方法

在前面添加:

import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

 

posted @ 2017-05-10 15:56  milian0711  阅读(25194)  评论(1编辑  收藏  举报