html-agility-pack
Replacing tags in HtmlAgility
I\'m trying to replace all of my h1 tags with h2 tags and I\'m using HtmlAgility pack. I did this: var headers = doc.DocumentNode.SelectNodes(\"//h1\");[详细]
2023-03-04 10:10 分类:问答TypeInitializationException When Using Moles With HtmlAgilityPack
I am attempting to use Moles to test a non-static method in a separate assembly.When running the test without the [HostType(\"Moles\")] tag, the test runs fine.When I replace it I receive the followin[详细]
2023-03-04 04:40 分类:问答HtmlAgilityPack: how to create indented HTML?
So, I am generating html using HtmlAgilityPack and it\'s working perfectly, but html text is not indented. I can get indented XML however, but I need HTML. Is there a way?[详细]
2023-03-04 03:59 分类:问答HTMLAgilityPack and timeouts on load
I\'m using HTMLAgilityPack in a parser that I have up on a server, but I\'m having issues with one of the websites that I\'m parsing: Every day around 6am they tend to shut down their servers for main[详细]
2023-03-02 20:27 分类:问答How to extract text from HTML using htmlagilitypack for this sample?
I wanna extract the text from a HTML source. I\'m try开发者_C百科ing with c# and htmlagilitypack dll.[详细]
2023-03-02 03:59 分类:问答How can I extract just text from the html
I have a requirement to extract all the text that is present in the <body> of the html. Sample Html input :-[详细]
2023-03-02 02:36 分类:问答Remove attributes using HtmlAgilityPack
I\'m trying to create a code snippet to remove all style attributes regardless of tag using HtmlAgilityPack.[详细]
2023-03-01 17:54 分类:问答HTML Agility Pack Null Reference
I\'ve got some trouble with the HTML Agility Pack. I get a null reference exception when I use this method on HTML not containing the specific node. It worked at first, but then 开发者_如何学编程it s[详细]
2023-03-01 04:06 分类:问答can't get proper information from amazon.com using c#/htmlagilitpack
I want to get book information such as author name / pages / publish year / etc ... from amazon using HtmlAgilityPack but seems amazon webpages have some problems and I can\'t access the appropriate f[详细]
2023-02-28 20:22 分类:问答parsing links and tables using VB.net HTML AgilityPack
I\'m trying to do some screen scraping, and discovered the HTML AgilityPack, but am having some trouble figuring out how to use it with VB.net.[详细]
2023-02-27 04:27 分类:问答