Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

c# parse html using XPathDocument

i'm trying to parse an html page with XPathDocument, but gives error 'cause the html is not an xml... is there a way to do this or not?

like image 858
ghiboz Avatar asked Jan 21 '23 06:01

ghiboz


1 Answers

Should use HtmlAgilityPack. Still the best!

like image 119
pinichi Avatar answered Jan 29 '23 18:01

pinichi