Skip to content

Instantly share code, notes, and snippets.

@jeremyjbowers
Created March 13, 2013 13:25
Show Gist options
  • Select an option

  • Save jeremyjbowers/5152010 to your computer and use it in GitHub Desktop.

Select an option

Save jeremyjbowers/5152010 to your computer and use it in GitHub Desktop.
Trying to solve Chad Skelton's SSL issues.
#!/usr/bin/env python
"""
Start up a virtualenv and make sure you have the following libraries.
pip install requests==1.1.0 urllib3==1.5 wsgiref==0.1.2
"""
import requests
url = 'https://eservice.pssg.gov.bc.ca/LRA/'
r = requests.get(url, verify=False)
print r.content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment