Answer the question
In order to leave comments, you need to log in
How to parse generated HTML block on HtmlAgilityPack?
Good afternoon.
You need to extract the already generated HTML code from this tag:
<div class="product-price" id="product-price" data-bind='component: { name: "product-price", params: {state: state, showGermanVatMessage: false, isDisplayPrice: true } }'></div>
var titleProduct = htmlDocumentProduct.DocumentNode.SelectNodes("//div[@class='product-hero']/h1");
foreach (var title in titleProduct)
{
Console.WriteLine($"Название товара: {title.InnerText}");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question