stop crawling
Is it possible to force crawler to stop its crawling. I have condition that only 500 pages should be crawled when that condition is met ti want to stop this crawler
This is not possible at the moment, but should be quite easy to implement. I will try to add this feature in the near future.
yes this feature is very good and it should be added
Any news on this?
Has been couple years so... bump. Must have!
thank you
I found a workaround to stop the crawler.
Once your condition to stop is met, just set the shouldCrawl function to return false always.
crawler.shouldCrawl = () => false;