This project has moved. For the latest updates, please go here.
We have moved!

Fetching attributes from HTML comment

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

htmlagilitypack how to get link XPath

first post: Habababa wrote: Hi all, Please tell me how to get XPath expression to link from thi...

latest post: warboyo wrote: Whats the web page so i can see the full source.

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 ...

Change website code

first post: dongu2 wrote: I want to change the code for the website: https://www.sapatrekking...

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...

Sanitizing string issue

first post: Agupta299 wrote: I'm using HtmlAgilityPack to sanitize user entered rich text and st...

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...

Documentation

first post: scwebgroup wrote: Hmm... How do we find out the details of this software? There is n...

latest post: quicktrick wrote: **ncolvin wrote:** > That does not work under windows 10. Even if ...

Please Help extract data

first post: Surreal64 wrote: Hello, excuse me but now I'm exhausted :-( I would like to extrac...

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...

Does Html Agility Pack supports XPath 2.0?

first post: nir_hp wrote: Does Html Agility Pack supports XPath 2.0?

latest post: yentrangkorea wrote: Thank for sharing Tôi là chủ công ty dịch vụ [thiết kế web shop](ht...

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...

Can't seem to remove nodes

first post: NoshTilYouPlotz wrote: Embarrasingly trivial problem, but I've only ever used HAP for scra...

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...

Nuget Install is prompting for C# files.

first post: omaether wrote: Hello, Can anyone tell me how to stop Html Agility Pack from pro...

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...

error on get Attributes[].Value

first post: tqk2811 wrote: mod plz remove this thread. my problem was resolve. thank

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...

Strong Name for PCL Binary

first post: ms_dcoleman wrote: I just download the nuget package for 1.4.9 and the both of the Por...

Difficulty with XPath to get a single result

first post: Aquiace wrote: I'm not yet very familiar with XPath, but what I'm trying to do sho...

XPath finder current issues

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

Error in parsing HTML tags

first post: MarianG wrote: I found an error, when I parse a following string: "<h4>text h4</...

Can i modify innerText of HtmlNode <p>?

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

Return contents between two TR tags using HTMLAGILITYPACK

first post: padosan wrote: I have been trying to scrape some data off a website. The source ha...

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...

Support for .NET Core

first post: djanosik wrote: Hi, are there any plans package compatible with ASP.NET 5 running...

Html Entities get html encoded?

first post: joergbattermann wrote: Hello there,how come or how do I prevent HAP to "double" encodes ht...

latest post: ikibiki wrote: ``` string noNbsp= Regex.Replace(inputHTML, @" ", "").Trim(); ```

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...

InnerHtml works wrong!!!

first post: xjf_hgkjzyxy wrote: i wirte some code in LINQPad: void Main() { var html = new Html...

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...

Portable version?

first post: nesteruk wrote: Is there a portable version of the library?

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 ...

parse text from class of complex html file

first post: overdev wrote: Hi. First of all I'm a beginner in programming. I just want to get...

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...

Unknown error caused by HtmlAgility pack

first post: Hitmanpt wrote: Hi I have this code on a Universal App (Windows 8.1 and Windows Pho...

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...

Count size of loaded content, or preferably transferred size

first post: moriarty wrote: Hello! First of all, thanks for a great piece of software! Neat a...

latest post: moriarty wrote: Of course I came up with one possible solution just after I posted ...

How to set encoding when using HtmlAgilityPack.HtmlDocument.LoadHtml

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

The '"' character, hexadecimal value 0x22, cannot be included in a name.

first post: SystematicSystem wrote: Hello, at this line: Dim NewHTMLString As String = XDocument.Parse...

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...