static void LaunchSpider(string source, int max_count = 5000) { WebSpider spider = new WebSpider(); spider.SetSourcePage(source); while (spider.CountToVisit > 0 && spider.Count < max_count) { WEBPAGE page = spider.SingleStep(); } }
static void LaunchSpider(string source, int max_count = 5000) { WebSpider spider = new WebSpider(); spider.SetSourcePage(source); while (spider.CountToVisit > 0 && spider.Count < max_count) { WEBPAGE page = spider.SingleStep(); } }