Search code examples
c#domxpath

How to use DOMXPath in C# for web scraping


Is there any way to use DOMXPath in C# like PHP for web scraping? Or is there any alternative way to do the same?


Solution

  • You can use the HTML Agility Pack - it is an HTML parser and supports querying using XPath.