I attach the image explaining what I want to do
Attached image I need to take only the region and realm fields with web scraping
var web = new HtmlWeb();
HtmlDocument doc = web.Load(uri);
List<string> Region = new List<string> ();
var page = doc.DocumentNode.SelectNodes("//div[@class='rt-td']");
foreach (var item in page)
{
var first = item.SelectSingleNode("//div[@class='rt-td']");
Region.Add(first.InnerText);
}
Aucun commentaire:
Enregistrer un commentaire