Top "Html-agility-pack" questions

HTML Agility Pack is an open-source HTML parser that builds a read/write DOM and supports Linq, plain XPATH or XSLT.

XPath wildcard in attribute value

I have the following XPath to match attributes of the class span: //span[@class='amount'] I want to match all …

c# xpath html-agility-pack
HtmlAgilityPack replace node

I want to replace a node with a new node. How can I get the exact position of the node …

c# html-agility-pack
remove html node from htmldocument :HTMLAgilityPack

In my code, I want to remove the img tag which doesn't have src value. I am using HTMLAgilitypack's HtmlDocument …

c# collections iteration html-agility-pack dom
HTML Agility Pack HtmlDocument Show All Html?

I am using the following to get a web page which works fine public static HtmlDocument GetWebPageFromUrl(string url) { var …

c# asp.net html-agility-pack
Running Scripts in HtmlAgilityPack

I'm trying to scrape a particular webpage which works as follows. First the page loads, then it runs some sort …

c# javascript html-agility-pack
Selecting attribute values with html Agility Pack

I'm trying to retrieve a specific image from a html document, using html agility pack and this xpath: //div[@id=…

c# .net xpath html-agility-pack
Parsing html with the HTML Agility Pack and Linq

I have the following HTML (..) <tbody> <tr> <td class="name"> Test1 </td> &…

c# linq html-parsing html-agility-pack
How can I get html from page with cloudflare ddos portection?

I use htmlagility to get webpage data but I tried everything with page using www.cloudflare.com protection for ddos. …

c# html-agility-pack
HtmlAgilityPack and HtmlDecode

I am currently using HtmlAgilityPack with a console application to scrape a website. Since the html is encoded (it returns …

html-agility-pack
htmlagilitypack - remove script and style?

Im using the following method to extract text form html: public string getAllText(string _html) { string _allText = ""; try { HtmlAgilityPack.HtmlDocument …

c# html-agility-pack