Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Updating form action attribute with mechanize.Browser

10 views
Skip to first unread message

cookiecaper

unread,
Jan 27, 2010, 7:00:57 PM1/27/10
to
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.
0 new messages