Skip to content

Instantly share code, notes, and snippets.

@Isopach
Created June 29, 2020 15:05
Show Gist options
  • Save Isopach/b152a1ca41fc1116b3ada1ce5fdaa920 to your computer and use it in GitHub Desktop.
Save Isopach/b152a1ca41fc1116b3ada1ce5fdaa920 to your computer and use it in GitHub Desktop.
Remove annoying InsecureRequestWarning warnings
#Add these to the top of your file
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment