By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,400 Members | 903 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,400 IT Pros & Developers. It's quick & easy.

ElementTree Tidy HTML Tree Builder and comments

P: n/a
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?

Jul 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.