BeautifulSoup and ASP.NET/C# -


Is any beautiful soup integrated with ASP.Net / C # (possibly IronPathon or otherwise)? Is there a beautiful soup option or a port that works well with ASP.Net / C #

intended to plan the library readable Text from any random URL.

Thank you

There is a similar project, but for this the C # and .NET


Edit:

To remove all readable text:

  document.DocumentNode.InnerText  

Note that this & lt; Script & gt; The text of the tag will return.

To fix this, you can press & lt; Script & gt; ; tag, like this:

  foreach (doc.DocumentNode.Descendants ("script") var script in ToArray ()) script.Remove (); Fairytale (D.C. DocumentNode.Descendant ("Style") contains a variety of style. Toure ()) style. Remove ();  

(credit)


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -