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

browser.submit() randomly stucks forever without throwing an exception #94

Open ghost opened 10 years ago

ghost commented 10 years ago

I'm scanning lot of domains and testing their forms. Mechanize randomly hangs forever during

browser.submit()

I'm using it with these settings: browser.set_handle_refresh(False)
browser.set_handle_robots(False)

I'm using python 2.7 and mechanize-0.2.5

Problem is its not throwing any exception even after very long time (hours) and its only stucked.