{"id":271002,"date":"2015-12-23T19:05:03","date_gmt":"2015-12-23T16:05:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=271002"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=271002","title":{"rendered":"\u0420\u0430\u0441\u043f\u0430\u0440\u0441\u0438\u0442\u044c HTML \u0432 .NET \u0438 \u0432\u044b\u0436\u0438\u0442\u044c: \u0430\u043d\u0430\u043b\u0438\u0437 \u0438 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a"},"content":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e9e\/461\/875\/e9e46187540d496fadb65a61d2af95f5.png\" align=\"left\"\/><br \/>  \u0412 \u0445\u043e\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 HTML. \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0433\u0443\u0433\u043b\u0443 \u0432\u044b\u0434\u0430\u043b <a href=\"http:\/\/habrahabr.ru\/post\/112325\/#comment_8578117\">\u043a\u043e\u043c\u043c\u0435\u043d\u0430\u0440\u0438\u0439<\/a>  <a href=\"http:\/\/habrahabr.ru\/users\/athari\/\" class=\"user_link\">Athari<\/a> \u0438 \u0435\u0433\u043e \u043c\u0438\u043a\u0440\u043e-\u043e\u0431\u0437\u043e\u0440 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 HTML \u0432 .NET \u0437\u0430 \u0447\u0442\u043e \u0435\u043c\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. <\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0446\u0438\u0444\u0440 \u0438\/\u0438\u043b\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u0442\u043e\u0433\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u043e \u043f\u043e\u0432\u043e\u0434\u043e\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435, \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a>, <a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a>, <a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a>, <a href=\"https:\/\/htmlagilitypack.codeplex.com\/\">HtmlAgilityPack<\/a> \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, <a href=\"http:\/\/stackoverflow.com\/questions\/1732348\/regex-match-open-tags-except-xhtml-self-contained-tags\/1732454#1732454\">Regex-way<\/a>. \u0421\u0440\u0430\u0432\u043d\u044e \u0438\u0445 \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <br clear=\"left\"\/>  <b>TL;DR<\/b>: \u041a\u043e\u0434 \u0432\u0441\u0435\u0445 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\">github<\/a>. \u0422\u0430\u043c \u0436\u0435 \u043b\u0435\u0436\u0430\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0421\u0430\u043c\u044b\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a> \u2014 \u0443\u0434\u043e\u0431\u043d\u044b\u0439, \u0431\u044b\u0441\u0442\u0440\u044b\u0439, <s>\u043c\u043e\u043b\u043e\u0434\u0435\u0436\u043d\u044b\u0439<\/s> \u043f\u0430\u0440\u0441\u0435\u0440 \u0441 \u0443\u0434\u043e\u0431\u043d\u044b\u043c API.<\/p>\n<p>  \u0422\u0435\u043c, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h2><font color=\"#cc0000\">\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/font><\/h2>\n<p>   <\/p>\n<ul>\n<li> <a href=\"#description\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/a><br \/> \n<ul>\n<li><a href=\"#HtmlAgilityPack\">HtmlAgilityPack<\/a><\/li>\n<li><a href=\"#Fizzler\">Fizzler<\/a><\/li>\n<li><a href=\"#CsQuery\">CsQuery<\/a><\/li>\n<li><a href=\"#AngleSharp\">AngleSharp<\/a><\/li>\n<li><a href=\"#Regex\">Regex<\/a><\/li>\n<\/ul>\n<p>   <\/li>\n<li> <a href=\"#Benchmark\">Benchmark<\/a><br \/> \n<ul>\n<li><a href=\"#ahref-benchmark\">\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438\u0437 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435<\/a><\/li>\n<li><a href=\"#table-benchmark\">\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/a><\/li>\n<\/ul>\n<p>   <\/li>\n<li> <a href=\"#results\">\u0412\u044b\u0432\u043e\u0434\u044b<\/a>   <\/li>\n<\/ul>\n<p>  <a name=\"description\"><\/a>  <\/p>\n<h2><font color=\"#cc0000\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a<\/font><\/h2>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043a\u0440\u0430\u0442\u043a\u0438\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0439 \u0438 \u0442\u0434.<br \/>  <a name=\"HtmlAgilityPack\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\"><a href=\"https:\/\/htmlagilitypack.codeplex.com\">HtmlAgilityPack<\/a><\/font><\/h3>\n<p>  \u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 (\u0435\u0441\u043b\u0438 \u043d\u0435 \u0441\u0430\u043c\u044b\u0439) \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0439 \u043f\u0430\u0440\u0441\u0435\u0440 HTML \u0432 \u043c\u0438\u0440\u0435 .NET. \u041f\u0440\u043e \u043d\u0435\u0433\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0435\u043c\u0430\u043b\u043e \u0441\u0442\u0430\u0442\u0435\u0439 \u043a\u0430\u043a \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c, \u0442\u0430\u043a \u0438 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0430\u0445, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u043d\u0430 <a href=\"http:\/\/habrahabr.ru\/post\/112325\/\">habrahabr<\/a>. <br \/>  \u0412\u043a\u0440\u0430\u0442\u0446\u0435 \u044d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u0430\u044f, \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML (\u0435\u0441\u043b\u0438 XPath \u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0431\u0443\u0434\u0443\u0442 \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438). <a href=\"https:\/\/htmlagilitypack.codeplex.com\">\u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439<\/a> \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f. <br \/>  \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f <b>MS-PL<\/b>.<\/p>\n<p>  \u041f\u0430\u0440\u0441\u0435\u0440 \u0431\u0443\u0434\u0435\u0442 \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u0435\u0441\u043b\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0442\u0438\u043f\u0438\u0447\u043d\u0430 \u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442\u0441\u044f XPath \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0441\u044b\u043b\u043a\u0438 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430:<\/p>\n<pre><code class=\"cs\">\/\/\/ &lt;summary&gt; \/\/\/ Extract all anchor tags using HtmlAgilityPack \/\/\/ &lt;\/summary&gt; public IEnumerable&lt;string&gt; HtmlAgilityPack() {     HtmlDocument htmlSnippet = new HtmlDocument();     htmlSnippet.LoadHtml(Html);      List&lt;string&gt; hrefTags = new List&lt;string&gt;();      foreach (HtmlNode link in htmlSnippet.DocumentNode.SelectNodes(&quot;\/\/a[@href]&quot;))     {         HtmlAttribute att = link.Attributes[&quot;href&quot;];         hrefTags.Add(att.Value);     }      return hrefTags; } <\/code><\/pre>\n<p>  \u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 css-\u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438, \u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 XPath \u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0432\u0430\u043c \u043c\u043d\u043e\u0433\u043e \u0433\u043e\u043b\u043e\u0432\u043d\u043e\u0439 \u0431\u043e\u043b\u0438:<\/p>\n<pre><code class=\"cs\">\/\/\/ &lt;summary&gt; \/\/\/ Extract all anchor tags using HtmlAgilityPack \/\/\/ &lt;\/summary&gt; public IEnumerable&lt;string&gt; HtmlAgilityPack() {     HtmlDocument hap = new HtmlDocument();     hap.LoadHtml(html);     HtmlNodeCollection nodes = hap         .DocumentNode         .SelectNodes(&quot;\/\/h3[contains(concat(' ', @class, ' '), ' r ')]\/a&quot;);          List&lt;string&gt; hrefTags = new List&lt;string&gt;();      if (nodes != null)     {         foreach (HtmlNode node in nodes)         {             hrefTags.Add(node.GetAttributeValue(&quot;href&quot;, null));         }     }      return hrefTags; } <\/code><\/pre>\n<p>  \u0418\u0437 \u0437\u0430\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0435\u0439 \u2014 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0435 API, \u043f\u043e\u0440\u043e\u0439 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e\u0435 \u0438 \u0437\u0430\u043f\u0443\u0442\u044b\u0432\u0430\u044e\u0449\u0435\u0435. \u0415\u0441\u043b\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f <code>null<\/code>, \u0430 \u043d\u0435 \u043f\u0443\u0441\u0442\u0430\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044f. \u041d\u0443 \u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u043a\u0430\u043a-\u0442\u043e \u0437\u0430\u0442\u044f\u043d\u0443\u043b\u043e\u0441\u044c \u2014 \u043d\u043e\u0432\u044b\u0439 \u043a\u043e\u0434 \u0434\u0430\u0432\u043d\u043e \u043d\u0438\u043a\u0442\u043e \u043d\u0435 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043b. \u0411\u0430\u0433\u0438 \u043d\u0435 \u0444\u0438\u043a\u0441\u0430\u044e\u0442\u0441\u044f ( <a href=\"http:\/\/habrahabr.ru\/users\/athari\/\" class=\"user_link\">Athari<\/a> \u0443\u043f\u043e\u043c\u0438\u043d\u0430\u043b \u043e \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0431\u0430\u0433\u0435 <a href=\"https:\/\/htmlagilitypack.codeplex.com\/workitem\/29218\">Incorrect parsing of HTML4 optional end tags<\/a>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u043d\u0435\u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u0442\u0435\u0433\u043e\u0432 HTML, \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u044e\u0449\u0438\u0435 \u0442\u0435\u0433\u0438 \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043e\u043f\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b.)<br \/>  <a name=\"Fizzler\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\"><a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a><\/font><\/h3>\n<p>  \u041d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043a HtmlAgilityPack, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u044b CSS. <br \/>  \u041a\u043e\u0434, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u043a\u0430\u043a\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0440\u0435\u0448\u0430\u0435\u0442 <a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a>:<\/p>\n<pre><code class=\"cs\">\/\/ \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e var html = new HtmlDocument(); html.LoadHtml(@&quot;   &lt;html&gt;       &lt;head&gt;&lt;\/head&gt;       &lt;body&gt;         &lt;div&gt;           &lt;p class='content'&gt;Fizzler&lt;\/p&gt;           &lt;p&gt;CSS Selector Engine&lt;\/p&gt;&lt;\/div&gt;       &lt;\/body&gt;   &lt;\/html&gt;&quot;);  \/\/ Fizzler \u044d\u0442\u043e \u043d\u0430\u0431\u043e\u0440 \u043c\u0435\u0442\u043e\u0434\u043e\u0432-\u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u0434\u043b\u044f HtmlAgilityPack \/\/ \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 QuerySelectorAll \u0443 HtmlNode  var document = html.DocumentNode;  \/\/ \u0432\u0435\u0440\u043d\u0435\u0442\u0441\u044f: [&lt;p class=&quot;content&quot;&gt;Fizzler&lt;\/p&gt;] document.QuerySelectorAll(&quot;.content&quot;);   \/\/ \u0432\u0435\u0440\u043d\u0435\u0442\u0441\u044f: [&lt;p class=&quot;content&quot;&gt;Fizzler&lt;\/p&gt;,&lt;p&gt;CSS Selector Engine&lt;\/p&gt;] document.QuerySelectorAll(&quot;p&quot;);  \/\/ \u0432\u0435\u0440\u043d\u0435\u0442\u0441\u044f \u043f\u0443\u0441\u0442\u0430\u044f \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c document.QuerySelectorAll(&quot;body&gt;p&quot;);  \/\/ \u0432\u0435\u0440\u043d\u0435\u0442\u0441\u044f [&lt;p class=&quot;content&quot;&gt;Fizzler&lt;\/p&gt;,&lt;p&gt;CSS Selector Engine&lt;\/p&gt;] document.QuerySelectorAll(&quot;body p&quot;);  \/\/ \u0432\u0435\u0440\u043d\u0435\u0442\u0441\u044f [&lt;p class=&quot;content&quot;&gt;Fizzler&lt;\/p&gt;] document.QuerySelectorAll(&quot;p:first-child&quot;); <\/code><\/pre>\n<p>  \u041f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 HtmlAgilityPack, \u043d\u043e \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0437\u0430 \u0441\u0447\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u0430\u043c\u0438 CSS.<\/p>\n<p>  \u0421 \u043a\u043e\u043c\u043c\u0438\u0442\u0430\u043c\u0438 \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043a\u0430\u043a \u0438 \u0443 HtmlAgilityPack \u2014 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0439 \u0434\u0430\u0432\u043d\u043e \u043d\u0435\u0442 \u0438, \u043f\u043e-\u0432\u0438\u0434\u0438\u043c\u043e\u043c\u0443, \u043d\u0435 \u043f\u0440\u0435\u0434\u0432\u0438\u0434\u0438\u0442\u0441\u044f.<\/p>\n<p>  \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: <b>LGPL<\/b>.<br \/>  <a name=\"CsQuery\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\"><a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a><\/font><\/h3>\n<p>  \u0411\u044b\u043b \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 HTML \u0434\u043b\u044f .NET. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u044b \u0431\u044b\u043b \u0432\u0437\u044f\u0442 \u043f\u0430\u0440\u0441\u0435\u0440 validator.nu \u0434\u043b\u044f Java, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u0442\u043e\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u0438\u0437 \u0434\u0432\u0438\u0436\u043a\u0430 Gecko (Firefox).<\/p>\n<p>  API \u0447\u0435\u0440\u043f\u0430\u043b \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u0435 \u0443 jQuery, \u0434\u043b\u044f \u0432\u044b\u0431\u043e\u0440\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u044f\u0437\u044b\u043a \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440\u043e\u0432 CSS. \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0434\u0438\u043d-\u0432-\u043e\u0434\u0438\u043d, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432, \u0437\u043d\u0430\u043a\u043e\u043c\u044b\u0445 \u0441 jQuery, \u0438\u0437\u0443\u0447\u0435\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u044b\u043c.<\/p>\n<p>  \u041d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 <a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a> \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043f\u0430\u0441\u0441\u0438\u0432\u043d\u043e\u0439 \u0441\u0442\u0430\u0434\u0438\u0438.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0421\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<blockquote><p>CsQuery is not being actively maintained. I no longer use it in my day-to-day work, and indeed don&#8217;t even work in .NET much these day! Therefore it is difficult for me to spend any time addressing problems or questions. If you post issues, I may not be able to respond to them, and it&#8217;s very unlikely I will be able to make bug fixes.<\/p>\n<p>  While the current release on NuGet (1.3.4) is stable, there are a couple known bugs (see issues) and there are many changes since the last release in the repository. However, I am not going to publish any more official releases, since I don&#8217;t have time to validate the current code base and address the known issues, or support any unforseen problems that may arise from a new release.<\/p>\n<p>  I would welcome any community involvement in making this project active again. If you use CsQuery and are interested in being a collaborator on the project please contact me directly.  <\/p><\/blockquote>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u0430\u043c \u0430\u0432\u0442\u043e\u0440 \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a> \u043a\u0430\u043a \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u0443 \u0441\u0432\u043e\u0435\u043c\u0443 \u043f\u0440\u043e\u0435\u043a\u0442\u0443.<\/p>\n<p>  \u041a\u043e\u0434 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0441\u044b\u043b\u043e\u043a \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043f\u0440\u0438\u044f\u0442\u043d\u043e \u0438 \u0437\u043d\u0430\u043a\u043e\u043c\u043e \u0434\u043b\u044f \u0432\u0441\u0435\u0445, \u043a\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b jQuery:<\/p>\n<pre><code class=\"cs\">\/\/\/ &lt;summary&gt; \/\/\/ Extract all anchor tags using CsQuery \/\/\/ &lt;\/summary&gt; public IEnumerable&lt;string&gt; CsQuery() {     List&lt;string&gt; hrefTags = new List&lt;string&gt;();      CQ cq = CQ.Create(Html);     foreach (IDomObject obj in cq.Find(&quot;a&quot;))     {         hrefTags.Add(obj.GetAttribute(&quot;href&quot;));     }      return hrefTags; } <\/code><\/pre>\n<p>  \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: <a href=\"https:\/\/github.com\/jamietre\/CsQuery\/blob\/master\/LICENSE.txt\"><b>MIT<\/b><\/a><br \/>  <a name=\"AngleSharp\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\"><a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a><\/font><\/h3>\n<p>  \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u043e\u0442 CsQuery, \u043d\u0430\u043f\u0438\u0441\u0430\u043d \u0441 \u043d\u0443\u043b\u044f \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043d\u0430 C#. \u0422\u0430\u043a\u0436\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u043f\u0430\u0440\u0441\u0435\u0440\u044b \u0434\u0440\u0443\u0433\u0438\u0445 \u044f\u0437\u044b\u043a\u043e\u0432.<\/p>\n<p>  API \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d \u043d\u0430 \u0431\u0430\u0437\u0435 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u043f\u043e JavaScript HTML DOM. \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u0435\u0441\u0442\u0430\u0445 \u0435\u0441\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u043d\u043e\u0441\u0442\u0438, \u043d\u0435\u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043d\u0430 .NET (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0438 \u043a \u043d\u0435\u0432\u0435\u0440\u043d\u043e\u043c\u0443 \u0438\u043d\u0434\u0435\u043a\u0441\u0443 \u0432 \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0451\u043d null, \u0430 \u043d\u0435 \u0432\u044b\u0431\u0440\u043e\u0448\u0435\u043d\u043e \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435; \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0439 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 Url; \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u0430 \u0438\u043c\u0451\u043d \u043e\u0447\u0435\u043d\u044c \u0433\u0440\u0430\u043d\u0443\u043b\u044f\u0440\u043d\u044b\u0435), \u043d\u043e \u0432 \u0446\u0435\u043b\u043e\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e\u0433\u043e.<\/p>\n<p>  \u0420\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e. \u041a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043f\u043b\u044e\u0448\u0435\u043a, \u043e\u0431\u043b\u0435\u0433\u0447\u0430\u044e\u0449\u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0440\u0430\u0436\u0430\u0435\u0442 \u0432\u043e\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\/blob\/master\/AngleSharp\/Interfaces\/Html\/IHtmlTableElement.cs\">IHtmlTableElement<\/a>, <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\/blob\/master\/AngleSharp\/Interfaces\/Html\/IHtmlProgressElement.cs\">IHtmlProgressElement<\/a> \u0438 \u0442\u0434.<\/p>\n<p>  \u041a\u043e\u0434 \u0447\u0438\u0441\u0442\u044b\u0439, \u0430\u043a\u043a\u0443\u0440\u0430\u0442\u043d\u044b\u0445, \u0443\u0434\u043e\u0431\u043d\u044b\u0439. <br \/>  \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043e\u043a \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 Fizzler:<\/p>\n<pre><code class=\"cs\">\/\/\/ &lt;summary&gt; \/\/\/ Extract all anchor tags using AngleSharp \/\/\/ &lt;\/summary&gt; public IEnumerable&lt;string&gt; AngleSharp() {     List&lt;string&gt; hrefTags = new List&lt;string&gt;();      var parser = new HtmlParser();     var document = parser.Parse(Html);     foreach (IElement element in document.QuerySelectorAll(&quot;a&quot;))     {     hrefTags.Add(element.GetAttribute(&quot;href&quot;));     }      return hrefTags; } <\/code><\/pre>\n<p>  \u0410 \u0434\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0435\u0441\u0442\u044c \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u0440\u0435\u0448\u0438\u0442\u044c \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443.<\/p>\n<p>  \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f: <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\/blob\/master\/LICENSE\"><b>MIT<\/b><\/a><br \/>  <a name=\"Regex\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\"><a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/system.text.regularexpressions.regex(v=vs.110).aspx\">Regex<\/a><\/font><\/h3>\n<p>  \u0414\u0440\u0435\u0432\u043d\u0438\u0439 \u0438 \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u043f\u043e\u0434\u0445\u043e\u0434 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML. \u041c\u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439  <a href=\"http:\/\/habrahabr.ru\/users\/athari\/\" class=\"user_link\">Athari<\/a>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0435\u0433\u043e, \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u0437\u0434\u0435\u0441\u044c \u0438 \u043f\u0440\u043e\u0434\u0443\u0431\u043b\u0438\u0440\u0443\u044e:  <\/p>\n<blockquote><p>\u0421\u0442\u0440\u0430\u0448\u043d\u044b\u0435 \u0438 \u0443\u0436\u0430\u0441\u043d\u044b\u0435 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u041f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0445 \u043d\u0435\u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c, \u0442\u0430\u043a \u043a\u0430\u043a \u043f\u0430\u0440\u0441\u0435\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u0442\u0440\u043e\u044f\u0442 DOM, \u0437\u0430\u043c\u0435\u0442\u043d\u043e \u043f\u0440\u043e\u0436\u043e\u0440\u043b\u0438\u0432\u0435\u0435, \u0447\u0435\u043c Regex: \u043e\u043d\u0438 \u043f\u043e\u0442\u0440\u0435\u0431\u043b\u044f\u044e\u0442 \u0431\u043e\u043b\u044c\u0448\u0435 \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0438 \u043f\u0430\u043c\u044f\u0442\u0438.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0434\u043e\u0448\u043b\u043e \u0434\u043e \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u043d\u0438\u043c\u0430\u0442\u044c, \u0447\u0442\u043e \u0432\u044b \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043d\u0430 \u043d\u0438\u0445 \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u043e\u0435 \u0438 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u0435\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u0430\u0440\u0441\u0438\u0442\u044c \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0441\u0430\u0439\u0442, \u0442\u043e \u044d\u0442\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0442\u0430\u043a \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u0430.<\/p>\n<p>  \u0420\u0430\u0434\u0438 \u0432\u0441\u0435\u0433\u043e \u0441\u0432\u044f\u0442\u043e\u0433\u043e, \u043d\u0435 \u043d\u0430\u0434\u043e \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0432 \u043d\u0435\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0435 \u043c\u0435\u0441\u0438\u0432\u043e. \u0412\u044b \u043d\u0435 \u043f\u0438\u0448\u0435\u0442\u0435 \u043a\u043e\u0434 \u043d\u0430 C# \u0432 \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443 \u0441 \u043e\u0434\u043d\u043e\u0431\u0443\u043a\u0432\u0435\u043d\u043d\u044b\u043c\u0438 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0442\u0430\u043a \u0438 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0440\u0442\u0438\u0442\u044c. \u0414\u0432\u0438\u0436\u043e\u043a \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0432 .NET \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043c\u043e\u0449\u043d\u044b\u0439, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434.  <\/p><\/blockquote>\n<p>  \u041a\u043e\u0434 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0441\u0441\u044b\u043b\u043e\u043a \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435-\u043c\u0435\u043d\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e:  <\/p>\n<pre><code class=\"cs\">\/\/\/ &lt;summary&gt; \/\/\/ Extract all anchor tags using Regex \/\/\/ &lt;\/summary&gt; public IEnumerable&lt;string&gt; Regex() {     List&lt;string&gt; hrefTags = new List&lt;string&gt;();      Regex reHref = new Regex(@&quot;(?inx)     &lt;a \\s [^&gt;]*         href \\s* = \\s*             (?&lt;q&gt; ['&quot;&quot;] )                 (?&lt;url&gt; [^&quot;&quot;]+ )             \\k&lt;q&gt;     [^&gt;]* &gt;&quot;);          foreach (Match match in reHref.Matches(Html))     {         hrefTags.Add(match.Groups[&quot;url&quot;].ToString());     }      return hrefTags; } <\/code><\/pre>\n<p>  \u041d\u043e \u0435\u0441\u043b\u0438 \u0432\u0430\u043c \u0432\u0434\u0440\u0443\u0433 \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u043c\u0438, \u0434\u0430 \u0435\u0449\u0451 \u0438 \u0432 \u0432\u044b\u0447\u0443\u0440\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435, \u0442\u043e \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\/blob\/master\/src\/Benchmarks.HtmlParsers\/Benchmarks\/TableBenchmark.cs#L207-L261\">\u0441\u044e\u0434\u0430<\/a>.<\/p>\n<p>  \u041b\u0438\u0446\u0435\u043d\u0437\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d\u0430 \u043d\u0430 <a href=\"http:\/\/www.microsoft.com\/net\/dotnet_library_license.htm\">\u044d\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0435<\/a>.<br \/>  <a name=\"Benchmark\"><\/a>  <\/p>\n<h2><font color=\"#cc0000\">Benchmark<\/font><\/h2>\n<p>  \u0421\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u0430\u0440\u0441\u0435\u0440\u0430, \u043a\u0430\u043a \u043d\u0438 \u043a\u0440\u0443\u0442\u0438, \u043e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0436\u043d\u0435\u0439\u0448\u0438\u0445 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432. \u041e\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 HTML \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u0442\u043e, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443 \u0432\u0430\u0441 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0437\u0430\u0439\u043c\u0435\u0442 \u0442\u0430 \u0438\u043b\u0438 \u0438\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430.<\/p>\n<p>  \u0414\u043b\u044f \u0437\u0430\u043c\u0435\u0440\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 <a href=\"https:\/\/github.com\/PerfDotNet\/BenchmarkDotNet\">BenchmarkDotNet<\/a> \u043e\u0442  <a href=\"http:\/\/habrahabr.ru\/users\/dreamwalker\/\" class=\"user_link\">DreamWalker<\/a>, \u0437\u0430 \u0447\u0442\u043e \u0435\u043c\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. <br \/>  \u0417\u0430\u043c\u0435\u0440\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u043d\u0430 Intel Core(TM) i7-4770 CPU @ 3.40GHz, \u043d\u043e \u043e\u043f\u044b\u0442 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0431\u0443\u0434\u0435\u0442 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u043d\u0430 \u043b\u044e\u0431\u044b\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0445.<\/p>\n<p>  \u041f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e <b>Regex<\/b> \u2014 \u043d\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0439\u0442\u0435 \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u043c\u0430. Regex \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0438\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u0432 \u0443\u043c\u0435\u043b\u044b\u0445 \u0440\u0443\u043a\u0430\u0445, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 HTML \u044d\u0442\u043e \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0442\u043e, \u0433\u0434\u0435 \u0441\u0442\u043e\u0438\u0442 \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c. \u041d\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u0430 \u044f \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0431\u043e\u0447\u0443\u044e \u043a\u043e\u0434\u0430. \u0421\u0432\u043e\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u043e\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u043d\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430, \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u044d\u0442\u043e \u044f \u0442\u043e\u0447\u043d\u043e \u043d\u0435 \u0441\u0442\u0430\u043d\u0443.<\/p>\n<p>  \u0427\u0442\u043e \u0436, \u0434\u0430\u0432\u0430\u0439-\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0438.<br \/>  <a name=\"ahref-benchmark\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\">\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0438\u0437 \u0441\u0441\u044b\u043b\u043e\u043a \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0435<\/font><\/h3>\n<p>  \u0414\u0430\u043d\u043d\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430, \u043a\u0430\u043a \u043c\u043d\u0435 \u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0430\u0437\u043e\u0432\u043e\u0439 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 \u2014 \u0447\u0430\u0449\u0435 \u0438\u043c\u0435\u043d\u043d\u043e \u0441 \u0442\u0430\u043a\u043e\u0439 \u043f\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u043e \u0441 \u043c\u0438\u0440\u043e\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 (\u0438\u043d\u043e\u0433\u0434\u0430 \u0438 Regex).<\/p>\n<p>  \u041a\u043e\u0434 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u0430 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\/blob\/master\/src\/Benchmarks.HtmlParsers\/Benchmarks\/AHrefBenchmark.cs\">github<\/a>, \u0430 \u043d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438:<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/b><\/td>\n<td><b>\u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f<\/b><\/td>\n<td><b>\u0421\u0440\u0435\u0434\u043d\u0435\u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435<\/b><\/td>\n<td><b>\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439\/\u0441\u0435\u043a<\/b><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a><\/td>\n<td>8.7233 ms<\/td>\n<td>0.4735 ms<\/td>\n<td>114.94<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a><\/td>\n<td>12.7652 ms<\/td>\n<td>0.2296 ms<\/td>\n<td>78.36<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a><\/td>\n<td>5.9388 ms<\/td>\n<td>0.1080 ms<\/td>\n<td>168.44<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/htmlagilitypack.codeplex.com\">HtmlAgilityPack<\/a><\/td>\n<td>5.4742 ms<\/td>\n<td>0.1205 ms<\/td>\n<td>182.76<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/stackoverflow.com\/questions\/1732348\/regex-match-open-tags-except-xhtml-self-contained-tags\/1732454#1732454\">Regex<\/a><\/td>\n<td>3.2897 ms<\/td>\n<td>0.1240 ms<\/td>\n<td>304.37<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u0412 \u0446\u0435\u043b\u043e\u043c, \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e Regex \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0441\u0430\u043c\u044b\u043c \u0431\u044b\u0441\u0442\u0440\u044b\u043c, \u043d\u043e \u0434\u0430\u043b\u0435\u043a\u043e \u043d\u0435 \u0441\u0430\u043c\u044b\u043c \u0443\u0434\u043e\u0431\u043d\u044b\u043c. HtmlAgilityPack \u0438 Fizzler \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u043f\u0435\u0440\u0435\u0434\u0438\u0432 AngleSharp. CsQuery, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0431\u0435\u0437\u043d\u0430\u0434\u0435\u0436\u043d\u043e \u043e\u0442\u0441\u0442\u0430\u043b. \u0412\u043f\u043e\u043b\u043d\u0435 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u044f \u043d\u0435 \u0443\u043c\u0435\u044e \u0435\u0433\u043e \u0433\u043e\u0442\u043e\u0432\u0438\u0442\u044c. \u0411\u0443\u0434\u0443 \u0440\u0430\u0434 \u0443\u0441\u043b\u044b\u0448\u0430\u0442\u044c \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0438 \u043e\u0442 \u043b\u044e\u0434\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u043b\u0438 \u0441 \u0434\u0430\u043d\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439.<\/p>\n<p>  \u041e\u0446\u0435\u043d\u0438\u0442\u044c \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u0434 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u0435\u043d. \u041d\u043e \u043f\u0440\u0438 \u043f\u0440\u043e\u0447\u0438\u0445 \u0440\u0430\u0432\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445, \u043a\u043e\u0434 CsQuery \u0438 AngleSharp \u043c\u043d\u0435 \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0431\u043e\u043b\u044c\u0448\u0435.<br \/>  <a name=\"table-benchmark\"><\/a>  <\/p>\n<h3><font color=\"#cc0000\">\u041f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b<\/font><\/h3>\n<p>  \u0421 \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0435\u0439 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435. \u041f\u0440\u0438\u0447\u0435\u043c \u0442\u0430\u0431\u043b\u0438\u0446\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u044f\u043b\u043e \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u043d\u0435 \u0431\u044b\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439.<\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0417\u0430\u043c\u0435\u0442\u043a\u0430 \u043e \u0436\u0438\u0437\u043d\u0438 \u0432 \u0411\u0435\u043b\u0430\u0440\u0443\u0441\u0438<\/b><\/p>\n<div class=\"spoiler_text\">\u0417\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u043e\u0431\u043c\u0435\u043d\u043d\u043e\u043c \u043a\u0443\u0440\u0441\u0435 \u0432\u0430\u043b\u044e\u0442 \u0432 \u0441\u043b\u0430\u0432\u043d\u043e\u043c \u0433\u043e\u0440\u043e\u0434\u0435 \u041c\u0438\u043d\u0441\u043a\u0435. \u041a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u043a\u0443\u0440\u0441\u0430\u0445 \u0432 \u0431\u0430\u043d\u043a\u0430\u0445, \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u043d\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e \u043d\u0430\u0442\u043a\u043d\u0443\u043b\u0441\u044f \u043d\u0430 <a href=\"http:\/\/select.by\/kurs\/\">http:\/\/select.by\/kurs\/<\/a>. \u0422\u0430\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0447\u0430\u0441\u0442\u043d\u043e \u0438 \u0435\u0441\u0442\u044c \u0442\u043e, \u0447\u0442\u043e \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e. \u041d\u043e \u0432 \u043e\u0447\u0435\u043d\u044c \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435. <br \/>  \u0420\u0435\u0431\u044f\u0442, \u0435\u0441\u043b\u0438 \u0431\u0443\u0434\u0435\u0442\u0435 \u044d\u0442\u043e \u0447\u0438\u0442\u0430\u0442\u044c \u2014 \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0435\u0440\u0432\u0438\u0441, \u043d\u0443 \u0438\u043b\u0438 \u0445\u043e\u0442\u044f \u0431\u044b HTML \u043f\u043e\u043f\u0440\u0430\u0432\u044c\u0442\u0435.  <\/div>\n<\/div>\n<p>  \u042f \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u043b \u043f\u043e\u043f\u044b\u0442\u043a\u0443 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u043f\u0440\u044f\u0442\u0430\u0442\u044c \u0432\u0441\u0451 \u0442\u043e, \u0447\u0442\u043e \u043d\u0435 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u0438\u043c\u0435\u043d\u043d\u043e \u043a \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 HTML, \u043d\u043e \u0432\u0432\u0438\u0434\u0443 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0438 \u0437\u0430\u0434\u0430\u0447\u0438, \u043d\u0435 \u0432\u0441\u0451 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c.<\/p>\n<p>  \u041a\u043e\u0434 \u0443 \u0432\u0441\u0435\u0445 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432, \u043e\u0442\u043b\u0438\u0447\u0438\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 API \u0438 \u0442\u043e\u043c, \u043a\u0430\u043a\u0438\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043e \u0434\u0432\u0443\u0445 \u0432\u0435\u0449\u0430\u0445: \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0443 AngleSharp \u0435\u0441\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b, \u0447\u0442\u043e \u043e\u0431\u043b\u0435\u0447\u0438\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438. \u0412\u043e-\u0432\u0442\u043e\u0440\u044b\u0445, Regex \u0434\u043b\u044f \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043d\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\/blob\/master\/src\/Benchmarks.HtmlParsers\/Benchmarks\/TableBenchmark.cs#L207-L261\">\u043d\u0438\u043a\u0430\u043a<\/a>.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439-\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b:<\/p>\n<table>\n<tbody>\n<tr>\n<td><b>\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430<\/b><\/td>\n<td><b>\u0421\u0440\u0435\u0434\u043d\u0435\u0435 \u0432\u0440\u0435\u043c\u044f<\/b><\/td>\n<td><b>\u0421\u0440\u0435\u0434\u043d\u0435\u043a\u0432\u0430\u0434\u0440\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435<\/b><\/td>\n<td><b>\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439\/\u0441\u0435\u043a<\/b><\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a><\/td>\n<td>27.4181 ms<\/td>\n<td>1.1380 ms<\/td>\n<td>36.53<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a><\/td>\n<td>42.2388 ms<\/td>\n<td>0.7857 ms<\/td>\n<td>23.68<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a><\/td>\n<td>21.7716 ms<\/td>\n<td>0.6842 ms<\/td>\n<td>45.97<\/td>\n<\/tr>\n<tr>\n<td><a href=\"https:\/\/htmlagilitypack.codeplex.com\">HtmlAgilityPack<\/a><\/td>\n<td>20.6314 ms<\/td>\n<td>0.3786 ms<\/td>\n<td>48.49<\/td>\n<\/tr>\n<tr>\n<td><a href=\"http:\/\/stackoverflow.com\/questions\/1732348\/regex-match-open-tags-except-xhtml-self-contained-tags\/1732454#1732454\">Regex<\/a><\/td>\n<td>42.2942 ms<\/td>\n<td>0.1382 ms<\/td>\n<td>23.64<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  \u041a\u0430\u043a \u0438 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 HtmlAgilityPack \u0438 Fizzler \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e\u0435 \u0438 \u043e\u0447\u0435\u043d\u044c \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f. AngleSharp \u043e\u0442\u0441\u0442\u0430\u0451\u0442 \u043e\u0442 \u043d\u0438\u0445, \u043d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0432\u0441\u0451 \u043d\u0435 \u0441\u0430\u043c\u044b\u043c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c. \u041a \u043c\u043e\u0435\u043c\u0443 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u044e, CsQuery \u0438 Regex \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e \u043f\u043b\u043e\u0445\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0415\u0441\u043b\u0438 \u0441 CsQuery \u0432\u0441\u0451 \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u2014 \u043e\u043d \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439, \u0442\u043e \u0441 Regex \u043d\u0435 \u0432\u0441\u0451 \u0442\u0430\u043a \u043e\u0434\u043d\u043e\u0437\u043d\u0430\u0447\u043d\u043e \u2014 \u0441\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u0437\u0430\u0434\u0430\u0447\u0443 \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0431\u043e\u043b\u0435\u0435 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c.<br \/>  <a name=\"results\"><\/a>  <\/p>\n<h2><font color=\"#cc0000\">\u0412\u044b\u0432\u043e\u0434\u044b<\/font><\/h2>\n<p>  \u0412\u044b\u0432\u043e\u0434\u044b, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0434\u0435\u043b\u0430\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0441\u0430\u043c. \u041e\u0442 \u0441\u0435\u0431\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u044e, \u0447\u0442\u043e \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0432\u044b\u0431\u043e\u0440\u043e\u043c \u0441\u0435\u0439\u0447\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 AngleSharp, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u0430\u043a\u0442\u0438\u0432\u043d\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043e\u0431\u043b\u0430\u0442\u0430\u0435\u0442 \u0438\u043d\u0442\u0443\u0438\u0442\u0438\u0432\u043d\u044b\u043c API \u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438. \u0418\u043c\u0435\u0435\u0442 \u043b\u0438 \u0441\u043c\u044b\u0441\u043b \u043f\u0435\u0440\u0435\u0431\u0435\u0433\u0430\u0442\u044c \u043d\u0430 AngleSharp \u0441 HtmlAgilityPack? \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0435\u0442 \u2014 \u0441\u0442\u0430\u0432\u0438\u043c Fizzler \u0438 \u0440\u0430\u0434\u0443\u0435\u043c\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e\u0439 \u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435.<\/p>\n<p>  \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435.<br \/>  \u0412\u0435\u0441\u044c \u043a\u043e\u0434 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u0432 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\">\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u043d\u0430 github<\/a>. \u041b\u044e\u0431\u044b\u0435 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0438\/\u0438\u043b\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f.        \t<\/p>\n<div class=\"polling\">\n<form action=\"\/json\/polling\/\" class=\"poll\" method=\"post\">\n<div class=\"poll_title\">\u041a\u0430\u043a\u043e\u0439 HTML \u043f\u0430\u0440\u0441\u0435\u0440 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u0432\u044b?<\/div>\n<p>  \t\t<input type=\"hidden\" name=\"post_id\" value=\"273807\"\/> \t\t<input type=\"hidden\" name=\"polling_question_id\" value=\"14373\"\/>  \t\t<\/p>\n<table class=\"answer\">\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv70363\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"70363\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv70363\">AngleSharp<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv70365\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"70365\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv70365\">Fizzler<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv70367\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"70367\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv70367\">HtmlAgilityPack<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv70369\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"70369\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv70369\">CsQuery<\/label> \t\t\t\t<\/td>\n<\/tr>\n<tr>\n<td class=\"input\"> \t\t\t\t\t<input type=\"radio\" id=\"vv70371\" \t\t\t\t\t\tclass=\"radio js-field-data\" \t\t\t\t\t\tname=\"variant[]\" \t\t\t\t\t\tvalue=\"70371\" \/> \t\t\t\t<\/td>\n<td class=\"label\"> \t\t\t\t\t<label for=\"vv70371\">\u0422\u043e\u043b\u044c\u043a\u043e Regex, \u0442\u043e\u043b\u044c\u043a\u043e \u0445\u0430\u0440\u0434\u043a\u043e\u0440!<\/label> \t\t\t\t<\/td>\n<\/tr>\n<\/table>\n<p class=\"total\">\u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b 1 \u0447\u0435\u043b\u043e\u0432\u0435\u043a. \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u043d\u0435\u0442.<\/p>\n<\/p><\/form>\n<p class=\"for_users_only_msg\">\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <a href=\"https:\/\/habrahabr.ru\/auth\/login\/\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<\/p><\/div>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/273807\/\"> http:\/\/habrahabr.ru\/post\/273807\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/e9e\/461\/875\/e9e46187540d496fadb65a61d2af95f5.png\" align=\"left\"\/><br \/>  \u0412 \u0445\u043e\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0434 \u043e\u0434\u043d\u0438\u043c \u0434\u043e\u043c\u0430\u0448\u043d\u0438\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u0430 HTML. \u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0433\u0443\u0433\u043b\u0443 \u0432\u044b\u0434\u0430\u043b <a href=\"http:\/\/habrahabr.ru\/post\/112325\/#comment_8578117\">\u043a\u043e\u043c\u043c\u0435\u043d\u0430\u0440\u0438\u0439<\/a>  <a href=\"http:\/\/habrahabr.ru\/users\/athari\/\" class=\"user_link\">Athari<\/a> \u0438 \u0435\u0433\u043e \u043c\u0438\u043a\u0440\u043e-\u043e\u0431\u0437\u043e\u0440 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u0432 HTML \u0432 .NET \u0437\u0430 \u0447\u0442\u043e \u0435\u043c\u0443 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e. <\/p>\n<p>  \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u0446\u0438\u0444\u0440 \u0438\/\u0438\u043b\u0438 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u0432 \u043f\u043e\u043b\u044c\u0437\u0443 \u0442\u043e\u0433\u043e \u0438\u043b\u0438 \u0438\u043d\u043e\u0433\u043e \u043f\u0430\u0440\u0441\u0435\u0440\u0430 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u043d\u0435 \u0431\u044b\u043b\u043e, \u0447\u0442\u043e \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u043b\u043e \u043f\u043e\u0432\u043e\u0434\u043e\u043c \u043a \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0438.<\/p>\n<p>  \u0421\u0435\u0433\u043e\u0434\u043d\u044f \u044f \u043f\u0440\u043e\u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e \u043f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435, \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442, \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 HTML, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e: <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a>, <a href=\"https:\/\/github.com\/jamietre\/CsQuery\">CsQuery<\/a>, <a href=\"https:\/\/code.google.com\/p\/fizzler\/\">Fizzler<\/a>, <a href=\"https:\/\/htmlagilitypack.codeplex.com\/\">HtmlAgilityPack<\/a> \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435, <a href=\"http:\/\/stackoverflow.com\/questions\/1732348\/regex-match-open-tags-except-xhtml-self-contained-tags\/1732454#1732454\">Regex-way<\/a>. \u0421\u0440\u0430\u0432\u043d\u044e \u0438\u0445 \u043f\u043e \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0438 \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<p>  <br clear=\"left\"\/>  <b>TL;DR<\/b>: \u041a\u043e\u0434 \u0432\u0441\u0435\u0445 \u0431\u0435\u043d\u0447\u043c\u0430\u0440\u043a\u043e\u0432 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 <a href=\"https:\/\/github.com\/forcewake\/Benchmarks\">github<\/a>. \u0422\u0430\u043c \u0436\u0435 \u043b\u0435\u0436\u0430\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0421\u0430\u043c\u044b\u043c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c \u043f\u0430\u0440\u0441\u0435\u0440\u043e\u043c \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"https:\/\/github.com\/AngleSharp\/AngleSharp\">AngleSharp<\/a> \u2014 \u0443\u0434\u043e\u0431\u043d\u044b\u0439, \u0431\u044b\u0441\u0442\u0440\u044b\u0439, <s>\u043c\u043e\u043b\u043e\u0434\u0435\u0436\u043d\u044b\u0439<\/s> \u043f\u0430\u0440\u0441\u0435\u0440 \u0441 \u0443\u0434\u043e\u0431\u043d\u044b\u043c API.<\/p>\n<p>  \u0422\u0435\u043c, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0435\u043d \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u044b\u0439 \u043e\u0431\u0437\u043e\u0440 \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-271002","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/271002","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=271002"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/271002\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=271002"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=271002"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=271002"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}