The question describes
how to remove the InsecureRequestWarning warning?
Just add the following code
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)