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.

Htmlagilitypack: create html text node

In HtmlAgilityPack, I want to create HtmlTextNode, which is a HtmlNode (inherts from HtmlNode) that has a custom InnerText. HtmlTextNode …

c# html-agility-pack
Stripping all html tags with Html Agility Pack

I have a html string like this: <html><body><p>foo <a href=…

html vb.net html-agility-pack strip
HTMLAgilityPack SelectNodes to select all <img> elements

I am making a project in C# that's basically an image screen scraper for an image-search related game. I'm trying …

c# html regex xpath html-agility-pack
login to website using HTMLAgilityPack

In the below code, I can set the value of the username and password using the HTMLAgilitypack but I cannot …

c# login html-agility-pack login-script
How to pass cookies to HtmlAgilityPack or WebClient?

I use this code to login: CookieCollection cookies = new CookieCollection(); HttpWebRequest request = (HttpWebRequest)WebRequest.Create("example.com"); request.CookieContainer = new …

c# cookies httpwebrequest webclient html-agility-pack
HTML Agility pack create new HTMLNode

I'm using HTML Agility Pack to parse and transform a HTML file, but I get an exception "Item has already …

html parsing indexing html-agility-pack
Remove attributes using HtmlAgilityPack

I'm trying to create a code snippet to remove all style attributes regardless of tag using HtmlAgilityPack. Here's my code: …

html html-parsing html-agility-pack
Get Links in class with html agility pack

There are a bunch of tr's with the class alt. I want to get all the links (or the first …

c# html-agility-pack
HTML Agility Pack

I'm trying to use HTML Agility Pack to get the description text from inside the: <meta name="description" content="**…

c# html winforms parsing html-agility-pack
Convert (render) HTML to Text with correct line-breaks

I need to convert HTML string to plain text (preferably using HTML Agility pack). With proper white-spaces and, especially, proper …

c# html-agility-pack