How to Retrieve Data from an HTTPS://URL

Harlin Seritt harlinseritt at yahoo.com
Thu Jan 5 15:07:12 EST 2006


I am trying to pull data from a web page at https://localhost/wps.
While this would work if the url was http://localhost/wps, it doesn't
work with 'https.'

I can do this:

import urllib
data = urllib.urlopen('http://localhost/wps').read()

But not with https. How can I pull data from a https url?

thanks,

Harlin




More information about the Python-list mailing list