Updating form action attribute with mechanize.Browser

cookiecaper cookiecaper at gmail.com
Thu Jan 28 01:00:57 CET 2010

Hi all. I am using mechanize.Browser to download web pages and such.
One of these has the wrong URL in the action attribute of the form I
need to submit. Anyone know how I can update this quickly?
ClientForm.__init__ seems to take the action attribute but that is
passed by b.select_form(), I think.

More information about the Python-list mailing list