Esempio n. 1
0
 public Crawler(CrawlerConfig config, List <string> urls)
 {
     this.Config = config;
     foreach (var url in urls)
     {
         URLQueue.Enqueue(url);
     }
 }
Esempio n. 2
0
 public Crawler(List <string> urls)
 {
     this.Config = new CrawlerConfig();
     foreach (var url in urls)
     {
         URLQueue.Enqueue(url);
     }
 }
Esempio n. 3
0
 public Crawler(CrawlerConfig config, string url)
 {
     this.Config = config;
     URLQueue.Enqueue(url);
 }
Esempio n. 4
0
 public Crawler(string url)
 {
     this.Config = new CrawlerConfig();
     URLQueue.Enqueue(url);
 }