In the Mechanize.Browser Python module, when a form is submitted, the browser instance goes to this page. For this single request, I do not want this; I want it to just stay on the page it is currently on, and give me the answer in another object (for loops). Does anyone know a quick way to do this?
EDIT: Hmm, so I have this kind of work with ClientForm.HTMLForm.click () that returns urllib2 request, but I need cookies to mechanize cookies that will be used in my urllib2.urlopen request. Is there a mechanization way that allows me to send a request in the same way as urllib2, except that cookies will be imported?
source
share