HTML parser

  • Thread starter Thread starter Craig Kenisston
  • Start date Start date
C

Craig Kenisston

Hi,

Could someone recommend any decedent html parser ? All what I need to do is
to extract the links from a given page.
I've found several tools in codeproject but all seems to be a bit inmature,
yet.

I'd like to hear opinions and personal experiences with any c# html parser.

Thanks in advance.
 
Craig Kenisston said:
Hi,

Could someone recommend any decedent html parser ? All what I need to do
is to extract the links from a given page.
I've found several tools in codeproject but all seems to be a bit
inmature, yet.

I'd like to hear opinions and personal experiences with any c# html
parser.

This one worked for me.

http://www.devcity.net/smourier/hap.htm

I was using it to manipulate machine-generated HTML, not HTML in the wild,
though.

David
 
Hi Craig,

Do you really need a full-fledged HTML parser for this? I think a smart
RegExp would be enough to extract <A> tags, or you could write a simple
tokenizer, thanks the Lord HTML grammar is pretty simple.
 
Back
Top