python request remove warning

#Removes request warnings from console

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

requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

Here is what the above code is Doing:
1. Importing the requests module
2. Importing the InsecureRequestWarning exception from the urllib3 module
3. Disabling the InsecureRequestWarning exception