Skip to content

Instantly share code, notes, and snippets.

@adityaarakeri
Forked from random-robbie/requests.py
Created June 26, 2019 07:06
Show Gist options
  • Save adityaarakeri/2b7cea0e5476f8c279e7fa9ae373c8a8 to your computer and use it in GitHub Desktop.
Save adityaarakeri/2b7cea0e5476f8c279e7fa9ae373c8a8 to your computer and use it in GitHub Desktop.
Python Requests Ignore Bad SSL certificate
import requests
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