Links published on January 10, 2007

1 link published on this date. See also: all links published in January 2007, latest links.

mechanize

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)
        )

Jacob

Visit site or read comments.

Links published on January 11, 2007