How do i read a variable of an Html document(mlAgilityPack)

Viewed 15

i would like to get the number 19833.14 of the html document in the following line.

<strong>19833.14</strong>

But if i run my code the node is found but i do not get the price i get:

<strong v-text="BuyPrice"></strong>

knows someboddy what to do? Here is the code:

HtmlNode[] nodes = doc.DocumentNode.SelectNodes("//a[@class='button large button-buy']").ToArray();

    foreach (HtmlNode item in nodes)
    {
        Console.WriteLine(item.Descendants("strong").FirstOrDefault().OuterHtml);
    }

Good evening

0 Answers
Related