How to Retrieve Data from an HTTPS://URL
Peter Hansen
peter at engcorp.com
Thu Jan 5 20:25:53 EST 2006
Harlin Seritt wrote:
> 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?
Does the site you are trying also require a password? Is it a public
site and if so what is it?
What platform are you using? What version of Python and OS?
Think also if you're missing other potentially critical details that
will help us out, and please fill them in.
-Peter
More information about the Python-list
mailing list