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