View Single Post
Old 08-24-2012, 02:38 PM   #3
rainrdx
Connoisseur
rainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy bluerainrdx can differentiate black from dark navy blue
 
Posts: 55
Karma: 13316
Join Date: Jul 2012
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
Your log in code doesn't seem to work. You can check for a successful login with

Code:
raw = br.submit().read()
if '>Log Out<' not in raw:
                raise ValueError('Failed to login to time.com, check'
                    ' your username and password')
Right. There is something strange:
My log in code does not seem to work by your code, but when I use the browser instance to open the subscription only page, ("subscriber/printout"), the subscription only context does come up. It's probably some cookie issue that I am unable to tackle. But for practical purposes I find it's ok.
rainrdx is offline   Reply With Quote