在利用requests访问链接,有时有有警告InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate ver
解决办法:
Python3访问HTTPS时移除SSL认证:
requests.get(url, verify=False)标签:Adding,made,ver,certificate,being,HTTPS,requests From: https://www.cnblogs.com/shaosks/p/16789163.html
如果移除认证后控制台总是抛出警告:
在请求代码之前
执行 requests.packages.urllib3.disable_warnings()
参考:https://blog.csdn.net/qq_35304570/article/details/79826990