CsQuery is an HTML parser, CSS selector engine and jQuery port for .NET 4 and C#. It implements all CSS2 & CSS3 selectors, all the DOM manipulation methods of jQuery, and some of the utility methods. The majority of the jQuery test suite (as of 1.6.2) has been ported to C#.
Install-Package CsQueryLatest -Version 126.96.36.199
dotnet add package CsQueryLatest --version 188.8.131.52
<PackageReference Include="CsQueryLatest" Version="184.108.40.206" />
paket add CsQueryLatest --version 220.127.116.11
Version 18.104.22.168 is compiled and published on the basis of the last commit by the author.The last commit time is 2015/12/15 11:32:17.
Version 1.3 is a major release. It implements a new C# port of the validator.nu HTML5 parser, a fully HTML5 compliant HTML parser.
Version 1.3.2 now handles the character set encoding properly when using HTTP get methods, as well as an encoding specified in META tags. It also contains bug fixes.
If OuterHtml or InnerHtml appears messy code like ь, add the following code before use CQ class:
CsQuery.Config.HtmlEncoder = CsQuery.HtmlEncoders.None;
Complete change log:
This package has no dependencies.
This package is not used by any popular GitHub repositories.