Skip to content

Instantly share code, notes, and snippets.

@jeffgreenca
Created August 28, 2018 22:04
Show Gist options
  • Save jeffgreenca/7d00ecfcc9638dc2998dd93602945ebe to your computer and use it in GitHub Desktop.
Save jeffgreenca/7d00ecfcc9638dc2998dd93602945ebe to your computer and use it in GitHub Desktop.
import requests
# BAD IDEA - VERY INSECURE
from urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(category=InsecureRequestWarning)
r = requests.get(url, verify=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment