I’m not sure whether I’ll ever actually use this, but when Jacob pointed out a line from the documentation I knew I was in love with this software:
I’m sure this page is HTML, why does mechanize.Browser think otherwise?
b = mechanize.Browser( # mechanize’s XHTML support needs work, so is currently switched off. If # we want to get our work done, we have to turn it on by supplying a # mechanize.Factory (with XHTML support turned on): factory=mechanize.DefaultFactory(i_want_broken_xhtml_support=True) )
Comments for this link are closed. If you'd like to share your thoughts on this link with me, please contact me directly.