jjlee / mechanize

Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize .
http://wwwsearch.sourceforge.net/mechanize/
618 stars 121 forks source link

br tag problem #61

Closed ghost closed 11 years ago

ghost commented 12 years ago

The new kind of br tag, that is <br />, creates problems in mechanize.

Deusdies commented 12 years ago

Use the RobustFactory.

When initializing the mechanize class:

browser = mechanize.Browser(factory=mechanize.RobustFactory())