public Crawler(CrawlerConfig config, List <string> urls) { this.Config = config; foreach (var url in urls) { URLQueue.Enqueue(url); } }
public Crawler(List <string> urls) { this.Config = new CrawlerConfig(); foreach (var url in urls) { URLQueue.Enqueue(url); } }
public Crawler(CrawlerConfig config, string url) { this.Config = config; URLQueue.Enqueue(url); }
public Crawler(string url) { this.Config = new CrawlerConfig(); URLQueue.Enqueue(url); }