How to crawl all pages ?
MaxPagesToCrawl is the maximum number of pages to crawl.
And in CrawlDecisionMaker.cs, I found
public virtual CrawlDecision ShouldCrawlPage(PageToCrawl pageToCrawl, CrawlContext crawlContext)
{
......
if (crawlContext.CrawledCount + 1 > crawlContext.CrawlConfiguration.MaxPagesToCrawl)
{
return new CrawlDecision { Allow = false, Reason = string.Format("MaxPagesToCrawl limit of [{0}] has been reached", crawlContext.CrawlConfiguration.MaxPagesToCrawl) };
}
......
}
By default I do MaxPagesToCrawl=1 000 000.
Some idea to set it to infinite?
Christian