📜  python 请求删除警告 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:30.427000             🧑  作者: Mango

代码示例1
#Removes request warnings from console

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

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)