示例#1
0
 /// <summary>
 /// Add crawler step process synchronously.
 /// </summary>
 /// <param name="crawler">Crawler for which start crawling.</param>
 /// <param name="uri">Url to crawl</param>
 /// <param name="depth">Depth of the url</param>
 public static void Crawl(this ICrawler crawler, string uri, int depth)
 {
     crawler.AddStep(new Uri(uri), depth);
 }