This project has moved and is read-only. For the latest updates, please go here.

Discussions under Developer Forum

We have moved!

Fetching attributes from HTML comment

first post: saurabhm1106 wrote: Hi, I have HTML comment with attributes, which I need to parse. ...

Re HtmlAgility dll issue

first post: rpremkumar10 wrote: Hi I have added the htmlagilitypack.dll in my .net windows appli...

How to do integration between websites?

first post: Det1 wrote: I have a site (C #) where I need to go to an external site. Record ...

Latest Source tree for 1.4.9.5?

first post: John_H_Bergman wrote: I am looking for the "official" repository for 1.4.9.5, it looks li...

latest post: mikemill wrote: John, did you ever find the source? I'm assuming it's what is poste...

Does HAP automatically close TCP Connection?

first post: rekiller wrote: Hi there, Does HAP close connections? I have to scrap like 1000 ...

using htmlagilitypack with ajax div load c#

first post: khoivietech wrote: I want to get the content in a tag div after page done: http://avia...

latest post: ranbla wrote: It would be nice if someone deleted all the stupid spam here. If yo...

Extraction of Text from HTML

first post: nirmalrajj wrote: I have a scenario of extraction proper texts from HTML. consider ...

How to correct hrml body tag

first post: viral9979 wrote: Hello, i want to correct out below tags, need to move ending </bo...

Compile for .NET 2.0 CF

first post: Shovinus wrote: Hi guys unfortuantely I only have Visual Studio 2012 and 2005, I ne...

Can Somebody please Provide a working source code in C# to Scrap Images Sources from a given Url ? Many Thanks

first post: AnthonyZaidan wrote: Can Somebody please Provide a working source code in C# to Scrap Im...

Is there any way to update the OuterHtml?

first post: YusrilMR wrote: Is there any solution to update the OuterHtml, like we can update t...

Why do we have separate HtmlDocument.Load() methods instead of constructors?

first post: Poma wrote: What is a motivation for this?

Unclosed attribute values

first post: koshmaar wrote: Hi I'm getting strange results parsing unclosed html. <a href="htt...

HtmlAgilityPack document is double encoding &nbsp; to &amp;nbsp;

first post: owlyowlowl wrote: Hi guys we have an   in a span and trying a LoadHtml on a new Docum...

Replace all images in HTML by a base64 version

first post: matheo_DE wrote: I am looking for a way to replace all images in a HTML string by it...

GitHub Fork with nuget package

first post: ThomasPP wrote: Hi, I needed to introduce some fixes to HTMLAgilityPack Especial...

gzip encoding

first post: topomania wrote: Using the HtmlAgilityPack I came across a html page that gave an ex...

latest post: Marchy wrote: Has this been incorporated into the NuGet package? Still seeing thi...

HAP xpath finder

first post: Axphey wrote: Can anyone tell me which .net framework and version of HAP this HAP...

Expanding HtmlConvert.cs to handle List Items

first post: HeavenCore wrote: Hello there We've tried using the excellent HtmlToTxt sample: http...

latest post: natem wrote: This works however all the lists are numerical. If you can figure o...

Method not found: 'Int32 HtmlAgility Pack.HtmlDocument.TextIndexOf(Char, Int32)'

first post: anibeez wrote: Hi, I have recently started working on an old project which uses ...

how to load an encoded string into htmlDocument object

first post: poddaturi wrote: Hi I am aware of the following code to load an html string stri...

HtmlAgilityPack parsing html using templates

first post: Sakthivel85 wrote: Hi, I have heard from my friend that it is possible to parse html...

latest post: CoolSpin wrote: Can you guys show your code, or make a sample to demonstrate it? ...

HTMLAgility in UWP App => List all url of an website

first post: jodahush wrote: Hello, I want to List URL of an Website. It works via Regex and Agi...

Malformed HTML parsing problem - unclosed li element within a form

first post: urehman wrote: Hi Community, I am working on an HTML parsing related utility. Dur...

latest post: Mexallon wrote: Hej there, I know this discussion is quiet old but I just encounte...

StackOverflowException in HtmlNodeCollection.GetEnumerator()

first post: oskarkv wrote: Hi! I'm writing a web crawler, and I get a StackOverflowException ...

Ajax Request

first post: totti240282 wrote: You can intercept or make requests via ajax

latest post: totti240282 wrote: Help me please.

problems with DocumentNode.SelectNodes() parameters

first post: acheo wrote: Hi, I'm trying to get the following information in the following HT...

latest post: suh3ndra wrote: I am not sure what you are trying to parse out of that HTML. But, f...

XPath finder current issues

first post: sledge_hammer wrote: Has anyone done any modification with the xpath finder? I seem to ...

Can i modify innerText of HtmlNode <p>?

first post: khoapham wrote: i have a simple html code <p style="background-color:#FFFFFF;" alig...

How do that to get content as photos by html agility pack?

first post: Englbach wrote: f (sense_list_item != null) { foreach (var node2 in s...

HTML5 support

first post: icemanind wrote: Does the Html Agility Pack parse HTML5?

latest post: UweKeim wrote: It also fails with non-self-closing tags (which _is_ valid in HTML5...

Controlling parsing of < in element text

first post: evpaulj wrote: Hi, Have been using htmlagility pack for a while now, spotted a p...

How to get name into class of div by htmlagilitypack?

first post: Englbach wrote: I want to get text into class it like "pos-4275...". Definitely, Th...

Visual Studio Debugger Visualizer for HAP

first post: ThomasMaierhofer wrote: I've just finished the first version of a Visual Studio Debugger Vi...

latest post: cyotek wrote: Hello, I've just been using this and found it very helpful for res...

Is there an easy way to convert from HtmlNode to XDocument or XmlDocument in C#?

first post: traedoril wrote: I want to take the object I get from HtmlAgilityPack and convert it...

Could not load file or assembly 'HTMLAgilityPack

first post: pixelmeow wrote: I'm getting the following error message after installing the HTML A...

Html Agility Pack - Help Skipping Table

first post: anavagomez wrote: I have a small function that removes extra spaces, tabs, new lines,...

latest post: anavagomez wrote: I think that an easy way I can do this is by finding out if the tab...

Cant install via NuGet - Corrupt data

first post: fruitloopy wrote: When I try to install via NuGet I get this error: PM> Install-Packa...

latest post: fruitloopy wrote: Solved it with the help of kaufmed on Experts Exchange. The issue ...

answered by: fruitloopy wrote: Solved it with the help of kaufmed on Experts Exchange. The issue ...

universal app

first post: ZoHaL wrote: HtmlAgility doesn't work with new universal app. There is any solut...

latest post: Englbach wrote: I still see it does work on universal app.

Retreive ul, li tag which have not class of name.

first post: Englbach wrote: string id="1-1"; public async void ExampLoad(string id) {...

Retrieve <ul> and <li> tags which in div in div.

first post: omerdemir wrote: Hello Here is my HTML <div class="main"> <div class="front> <div cl...

latest post: omerdemir wrote: var lnks = document.DocumentNode.SelectNodes("//ul[@class='link...

extracting all forms from an html page with all their inputs using HtmlAgilityPack and VB.NET

first post: silverlord wrote: hi How can I get all the forms from a page using HtmlAgilityPack wi...

Using HAP with multiple threads.

first post: zephercode wrote: Hi, I have noticed that there is no way to use HAP with multiple ...

HTML and MemoryStream

first post: CGSJohnson wrote: Can anyone find a reason for this code not working? That is, for t...

latest post: CGSJohnson wrote: Doesn't the next line save the contents of the HTMLDocument into "h...

In loops Althought It be have data and no data(10 loops, 3 loops has data, the rest of loops has no data) but still return is null, Why?

first post: Englbach wrote: I will explain by example. Note: When I debugged In 10 loops of for...

Version for compact framework?

first post: techi wrote: I have seen unanswered topic http://htmlagilitypack.codeplex.com/Th...

latest post: maciojun wrote: I can't make HtmlAgilityPack cf2.0 reference working with System.Xm...

SelectNodes And SelectSingleNode not working in widows phone 8.1 app

first post: Rajneek wrote: HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument(); ...

Convert xpath to linq

first post: fxyong wrote: Hi all, i am trying to extract the info in winRT based on the follo...

How much information is loaded by HtmlWeb.load([url])

first post: morfrei wrote: Hi, I would like to ask if I use HtmlWeb.load([url]) method - is ...

get attribute

first post: moqol24 wrote: <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book> ...

How to get a link mp3 online from website???

first post: Englbach wrote: Can Http Agility Pack get a link from website as IDM download mana...

Being crashed application when using http agility pack on universal

first post: Englbach wrote: public async void LoadData() { //Getting of data ...

Login & Javascript

first post: totti240282 wrote: Good Morning, I'm trying to login to a website, step all parameter...

latest post: hhashim wrote: Has anyone had any luck with enabling Javascript with Htmlagilitypack?

How to get url of the video or the mp3 by Http Agility Pack????

first post: Englbach wrote: How to get url of the video or the mp3 by Http Agility Pack???? It...

Why don't I catch be null errors on "div.SelectSingleNode(".//span[@class='pos']").InnerText.Trim(); ".Help me to sovle it.

first post: Englbach wrote: url = await getstring.GetAsync("http://dictionary.cambridge.org/dic...

Problem with HtmlWeb.cs

first post: bondredo wrote: Hello world ! Please, excuse my bad english, I'm French... I wo...

latest post: Corobori wrote: Avez-vous résolu ce problème ? J'ai le même. J'ai trouvé. J'étais...

How to get content using httpAgilityPack website?

first post: Englbach wrote: I have a link:http://dictionary.cambridge.org/dictionary/british/ap...

latest post: rjamaio wrote: doc.LoadHtml(content); HtmlNodeCollection defNodes=doc.DocumentNode...

DIV background-image to image

first post: dornellas wrote: i'm newbie here. I need to transform div background-image to image ...

Check whether an element is displayed inline or block

first post: cornel1428 wrote: I'm currently using HtmlAgilityPack to parse some HTML files and I ...

Source Code for 1.4.9

first post: pseudocoder wrote: I am using HAP 1.4.9 via NuGet in a current Visual Studio project. ...

latest post: DarthObiwan wrote: The latest source is available here http://htmlagilitypack.codeplex...

answered by: DarthObiwan wrote: The latest source is available here http://htmlagilitypack.codeplex...

How to select the racecard information

first post: Markiemarkus wrote: Having a lot of trouble with the following page. I can't seem to ge...

Get Ordinal Index of paragraph element

first post: ami_gkv wrote: Hi, How can I get the Ordinal Index of a paragraph element in HTM...

Accessing a column of an Html Table

first post: tfraking wrote: Can the Html Agility Pack help me access the elements of an html ta...

Newbie Select Question

first post: Duckman wrote: Hi I have the html below and essentially want to build a Diction...

latest post: Duckman wrote: Is the below weak - it sort of gets the first two cells - but if fe...

Need help with SelectBodes

first post: MrSnrub wrote: Hello, I am a complete novice to XPath and the HtmlAgilityPack. ...

latest post: jonnydev13 wrote: Not sure if you need help with this any more, but I figured I'd ans...

selectnodes problem

first post: ugnivs wrote: I'm trying to parse html page(http://news.tut.by/politics/) using t...

Project outdated?

first post: mushkhan wrote: Nuget says 1.4.9 (2014), project page says 1.4.6 (2012). problem ...

Is contains() function supported ?

first post: jacques_f_prg wrote: this: myHtml.DocumentNode.SelectNodes("//div[@class='colcontent']//...

Will Multiple <html> tags through the parser off?

first post: aanders50 wrote: Basically I am to select certain elements, like //table[2], but I c...

Html parse for Windows Phone 8.1

first post: bugmenot2 wrote: I'm trying to create a wp 8.1 application that takes a web page con...

Chinese language/Character support in HAP

first post: ashishagrawal83 wrote: Hi , I want to know if chinese character are supported in HAP. ...

Get exact unicode tring from website

first post: lienhe24 wrote: I want to get Port Code,Port Name ,Country from this page: http://w...

issues while using HTMLagility pack

first post: sushant_sagar wrote: I tried using HTMLagilitypack but the api seems to have get changed...

Parse inner HTML tables to a DataTable issue from a web page

first post: pothireddys wrote: Hi All, I need to parse inner HTML tables from a web page and ...

Getting No Source available Error - There no source code available for the current location when using HtmlAgilityPack

first post: pothireddys wrote: I am the beginner and trying to read an HTML page ( .htm page) , wh...

latest post: pothireddys wrote: Hi Lee, thanks. got it. yes, its the file path issue. there is some...

SelectNodes to return empty HtmlNodeCollection if no matching node is found

first post: mfreidge wrote: The current implementation ot the HtmlNode.SelectNodes(string xpath...

latest post: bjrichardson wrote: Returning null is the most non-intuitive thing that could be done. ...

How to parse special characters

first post: jibin4119 wrote: Hi , how can i extract special characters like $ using htmlagility ...

latest post: andipandi wrote: Those worked for me: http://stackoverflow.com/questions/6665488/ht...

How to set encoding when using HtmlAgilityPack.HtmlDocument.LoadHtml

first post: PokemonCraft wrote: Thread on SA : http://stackoverflow.com/questions/25395547/how-to-s...

Get Children of FORM tags - Powershell

first post: mycpl_1 wrote: I've come across several people reporting how the default setting f...

latest post: mycpl_1 wrote: I figured it out. `[HtmlAgilityPack.HtmlNode]::ElementsFlags.Remov...

Add-Type htmlagilitypack.dll fails - help?

first post: HappyWindowsAdmin wrote: I've tried doing add-type .\htmlagilitypack.dll with powershell v2 ...

latest post: SunnyKumar wrote: Sikkepitje, thanks for sharing the resolution... I was hitting the ...

HtmlAgilityPack.HtmlWeb and Cookie

first post: totti240282 wrote: Hello, is possible with this object manage authentication cookies ?

htmlAgilityPack reteveing data from table

first post: jrmac wrote: I have a table I wish to scrapping just the surnames with some diff...

Parsing xPath of tag <form>

first post: PG_LoLo wrote: There is old bug - Html agility pack incorrectly identifies xPath o...

How to scrape some data from a website using HTMLAgilityPack

first post: sikni8 wrote: I have the following Crawler.cs helper class: _using System; using...

Examples how to use this library for Windows Phone and/or Windows 9

first post: eitanbarazani wrote: I am looking for some sample code how to use this library. Looked a...

HtmlAgilityPack 1.4.6 gzip is not a supported encoding name

first post: rip2444 wrote: Im trying to load a webpage but i keep getting the following error:...

remove html tags but keep formatting like bold and italics

first post: adandrea wrote: is it possible to use the html agility pack to remove the html tags...

Updates

first post: Artur2 wrote: Any updates comes or project is dead ?

Help for parsing please

first post: mk148a wrote: Hi, i have some problem. I cant parsing this count, because its to ...

How to use htmlagilitypack in Windows Phone 7

first post: hong888wang wrote: Is there a way to make the htmlagilitypack to work for Windows Phon...

latest post: andrewbares wrote: Like _weiser_ said, just adding the System.Xml.XPath reference typi...

WP8 problem with Htmlagilitypack

first post: BalaViknesh wrote: This is the function I used to get the string content from the webs...

Get Visible Text on website without HTML

first post: MSQRD712 wrote: Hello developer friends, I'm trying to get all the visible text wit...

How do I tell HAP to not make modifications to my code?

first post: babzog wrote: I don't want it to "fix" my code (which is not even an entire page,...

latest post: Undercover1989 wrote: I would also be interested if this is possible.

Parsing Nginx Auto Index

first post: Technicolour wrote: I'm trying to parse an nginx auto index page to get the links from ...

Strange node search.

first post: DoryGray wrote: Hi there. There is some interesting behavior when searching nodes. ...

latest post: Rhyous wrote: In Xpath // means go back to the root node. In xpath .// means rela...

Setting HtmlAgilityPack assembly to work with .Net and Mono

first post: PapyRef wrote: I want to migrate C# 2012 project to Linux with Mono. But I am gett...

Dispose()?

first post: daninmanchester wrote: I am using Ants memory profiler and seeing 100s of instances of the...

error website

first post: hien6789 wrote: error website " http://vemaybay12h.com/tin-tuc/508/ve-may-bay-di-tu...

NestedOptionsTests

first post: mtanneryd wrote: Hi! I've downloaded the 1.4.6 changeset but get a compile error w...

Help: Visual Basic HTML Agility Pack How to Grab Images from Table Cells

first post: bottlefury wrote: Hope someone can help as I have spent ages trying to figure this ou...