If you run the following program:
import mechanize
br = mechanize.Browser()
br.open("http://hansardindex.ontla.on.ca/hansarde.asp")
for f in br.forms():
print f.name
Only one line of output is output. However, if you go to a page, there are many forms with names like "DateFrom". Why doesn't mechanization list other forms?
source
share