Persistence for cookies
I am working with python mechanize on making a login script. I have read
that the mechanize's Browser() object will handle with cookies
automatically for further requests. How can i make this cookie persistent
ie save into a file so that I can load from that file later. My script is
currently logging-in(using mechanize/HTML forms) to the website with
Browser() object every time it is run.
No comments:
Post a Comment