How To Make Mechanize Not Fail With Forms On This Page?
import mechanize url = 'http://steamcommunity.com' br=mechanize.Browser(factory=mechanize.RobustFactory()) br.open(url) print br.request print br.form for each in br.forms():
Solution 1:
Did you mention that the website is redirecting to an https (ssl) server ?
Well, try to set a new HTTPS handler like this:
mechanize.HTTPSHandler()
Post a Comment for "How To Make Mechanize Not Fail With Forms On This Page?"