Does ActivePython have built-in support for HTTPS and SSL?
 
What is the most straight-forward way for me to use Python to
download web pages over HTTPS? The doc pages for urllib2 don't
give many examples, and I don't think I have SSL loaded either
(I don't see socket.ssl). Basically, I want to write a web screen scraping
application similar to Yodlee. I need to login to a secure page and download
the HTML and then parse it for content.
 
I looked at mxcrypto and m2crypto, but none of these had simple
examples of just client HTTPS grabbing web pages from a server.
 
Maybe I could build a proxy server in Java or C...
 
I'm hoping for something simple like this (this does not work, of course):
    import urllib
    url = urllib.urlopen('https://www.myfoo.com/servlet/login')
    page = url.read()
    url.close()
    print page
 
Yours,
Noah
 

Reply via email to