Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27349

HtmlAgilityPack get contents in a comments line

$
0
0
I want get content value in a comment line string:

HTML Code:

<!-- <meta itemprop="contentURL" content="http://**.com/za6dc7.mp4" />-->
Code:

Dim node As HtmlAgilityPack.HtmlNode = doc.DocumentNode.SelectSingleNode("//meta[@item='contentURL']")
 TextBox1.Text += node.GetAttributeValue("content", String.Empty)

Thanks for help.

Viewing all articles
Browse latest Browse all 27349

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>