InsecureRequestWarning: Unverified HTTPS request
InsecureRequestWarning is HTTPS URL without certificate verification is enabled. Now You can disable any Python warnings via the PYTHONWARNINGS environment variable. export PYTHONWARNINGS="ignore:Unverified HTTPS request"
.
from urllib3.exceptions import InsecureRequestWarning #added import requests import urllib3 requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning) #added