Quote:
Originally Posted by kovidgoyal
I've added a cleanup method to the profile that's called after the LRF file has been generated. You can use self.browser to logout in that method.
|
Thank you so much for adding this.
I'm going to need some help on the proper code to use, though, due to my ignorance of python.
Would adding something like this to my profile work?
Code:
def cleanup(self):
return [
self.browser.open('http://online.barrons.com/logout')
]
Thanks for your help with this.
One other question for you, if you don't mind. How do you add the
--ignore-tables option to the profile, so you don't have to specify it on the command-line every time you use the profile?
Thanks again.