Beispiel #1
0
 private async static void nuGo()
 {
     try
     {
         List <string> listhref = HTMLParser.GetHref("http://www.tut.by");
         Console.WriteLine(listhref.Count);
         WebCrawler  wc = new WebCrawler(2);
         CrawlResult cr = new CrawlResult();
         cr = await wc.StartCrawlingAsync(listhref, 1);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
 }