Created
February 19, 2017 09:08
-
-
Save TheGU/e5d490a203be8145e3966120585917b8 to your computer and use it in GitHub Desktop.
Monkey patch for CERTIFICATE_VERIFY_FAILED when using urllib
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ssl | |
ssl._create_default_https_context = ssl._create_unverified_context |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment