HTML Agility Pack

I used HTML Agility pack to screen scrap a site with the login credentials but after the logging all I get is a message "You have to login to access this page". Is this a security issue? or any ot...

Id #43433 | Release: None | Updated: Jun 10 at 7:46 PM by rajis | Created: Jun 7 at 8:08 PM by rajis

HtmlAttributeCollection changes attributes names to lowercase

this should not be the default behavior, why change the value of the attribute. I know the html standard is that attribute names are case insensitive, but today there is modern frameworks like Ang...

Id #43432 | Release: None | Updated: Jun 3 at 4:37 AM by wesam | Created: Jun 3 at 4:37 AM by wesam

HtmlDocument: Constructor with parameter of html string

I have two questions Is there official repo on github? I found only outdated fork :( Can you add constuctor to HtmlDocument with parameter of html string and build it up using string? Or any st...

Id #43392 | Release: None | Updated: Apr 6 at 9:12 PM by tsmirnov | Created: Apr 6 at 9:12 PM by tsmirnov

Tag mixing *generates* invalid html

Try this program: using HtmlAgilityPack; using System; class Program { const string test = @" <html> <body> <span> <p>Foo</span></p> <p>Bar</p> </body></html>"; static void Main(string[] arg...

Id #43352 | Release: None | Updated: Mar 29 at 1:44 AM by Tyf0x | Created: Feb 12 at 2:16 PM by poizan42

Invalid assembly version in Nuget package 1.4.9

The versions of some dlls in the Nuget package are not correct. The Nuget package version is 1.4.9. Net20, Net40, Net40-client, Net45 have the dll of version 1.4.9 which is correct. NetCore45 h...

Id #43348 | Release: None | Updated: Feb 10 at 10:14 AM by tomasherceg | Created: Feb 10 at 10:14 AM by tomasherceg

Give more detail in Exception("Error downloading html") for Metro version of HtmlWeb

In the metro version of HtmlWeb.LoadFromWebAsync an exception is thrown if the loaded page's status is not 200. It would be really helpful if a custom exception was thrown in this case that includ...

Id #43341 | Release: None | Updated: Feb 3 at 11:37 AM by RichardGarside | Created: Feb 3 at 11:37 AM by RichardGarside

Mistake in charset detection with patch

Hi, In HTMLWeb.cs, in private HttpStatusCode Get(Uri uri, string method, string path, HtmlDocument doc, IWebProxy proxy, ICredentials creds) There is : ...

Id #43339 | Release: None | Updated: Feb 1 at 2:05 PM by charlelie | Created: Feb 1 at 2:03 PM by charlelie

LoadHtml adds non existing tbody element

How to prevent LoadHtml from adding tbody element to elements tree, when tbody doesnt exist in original html code.

Id #43330 | Release: None | Updated: Jan 21 at 6:32 PM by nerexis | Created: Jan 21 at 6:32 PM by nerexis

Not case correct, how to pull case correct

Hello When i go to view the node all the aspx controls are in lowercase. is there a way to get it in propercase? Example: var doc = new HtmlAgilityPack.HtmlDocument(); doc.OptionOutputOriginalCase...

Id #43329 | Release: None | Updated: Jan 21 at 3:13 PM by scascalesp | Created: Jan 21 at 3:13 PM by scascalesp

HtmlNode.XPath Property CASE

Even when OptionOutputOriginalCase = True, the XPath property is still returned as ALL LOWER CASE. Since XPath expressions are Case Sensitive, this is incorrect. The XPath property should ONLY be...

Id #43326 | Release: None | Updated: Jan 15 at 5:42 PM by WardMD | Created: Jan 14 at 4:19 PM by WardMD