Help with mechanize

Neal Becker ndbecker2 at gmail.com
Wed Aug 6 13:16:37 CEST 2008


I'm trying to use mechanize to read for a M$ mail server.  I can get past the login page OK using:

import mechanize

b = mechanize.Browser()
b.open ('https://mail.hughes.com/owa/auth/logon.aspx?url=https://mail.hughes.com/OWA/&reason=0')
b.select_form(nr=0)
b['username']='myname'
b['password']='password'
b.submit()

Now it seems if I read b.links() I can see links to my mail.  My question is, how do I now actually get the contents of this page?







More information about the Python-list mailing list