Hello,
I want to List URL of an Website. It works via Regex and Agility pack - on Windows form Apps.
Now I want to perform this Task in a UWP app. Unfortunately there is no System.web.UI;
So I tied this Code from (AgilityUWP):
I want to List URL of an Website. It works via Regex and Agility pack - on Windows form Apps.
Now I want to perform this Task in a UWP app. Unfortunately there is no System.web.UI;
So I tied this Code from (AgilityUWP):
HtmlDocument htmlDoc = new HtmlDocument();
htmlDoc.LoadHtml(InputTextBox.Text);
HtmlNode docNodes = htmlDoc.DocumentNode;
HtmlNode fldSerie = docNodes.Element("//a Serie/"); ==>> Here I want to Display all nodes with a certain string in it. Dont know if this works
foreach(HtmlNode node in docNodes)==>> This does not work
{
UrlList.Items.Add(node.OuterHtml);
}