I'm considering using the ElementTree Tidy HTML Tree Builder for a web spidering program I'm developing.
However, my program must be able to extract certain information from HTML comments. I'm basically creating my trees like this: TidyHTMLTreeBuilder.parse(urllib.urlopen(url)) What I want to know is, is it possible to make TidyHTMLTreeBuilder preserve comments in this process, and if so, how would I go about it? -- http://mail.python.org/mailman/listinfo/python-list