Exemple #1
0
 public void ParseHtmlFile()
 {
     string filePath = @"C:\devApps\typescriptscraper\coronavirus\data\html\2020.02.12-1642-bno.html";
     var    page     = WebPage.CreateFromFile(filePath);
     string heading  = page.Select("#mvp-content-main").Text();
     var    selector = "#mvp-content-main > table.wp-block-table.aligncenter.is-style-stripes > tbody > tr";
     var    tbl1     = page.Select(selector).Text();
 }