Access SSL websites with Python?

Irmen de Jong irmen at -nospam-remove-this-xs4all.nl
Sun Jun 20 03:02:58 EDT 2004


Byron Morgan wrote:
> I need to access a web site, log in, run a report and download the
> results, which will be added to a database. Of course, the login
> process uses SSL. Is it reasonable to attempt this with Python 2.3 on
> Windows 2000 platform? Can anyone provide an example of negotiating an
> SSL session?

urllib2 should be able to use HTTPS:// urls just fine.

If you require cookie processing to log in on the website,
look at ClientForm and/or ClientCookie.
(http://wwwsearch.sourceforge.net/ClientForm/)

-irmen



More information about the Python-list mailing list