1

I am using crawler4j lib and their dependencies for crawling the page. What is the difference between

controller.start(BasicCrawler.class, numberOfCrawlers);

vs.

controller.startNonBlocking(BasicCrawler.class, numberOfCrawlers);

?

Anthon
  • 69,918
  • 32
  • 186
  • 246
Selva
  • 546
  • 5
  • 12
  • 34

1 Answers1

0

take at look at

https://github.com/yasserg/crawler4j/blob/master/src/main/java/edu/uci/ics/crawler4j/crawler/CrawlController.java

from the documentation the second one allows the crawler thread to continue with just after triggering the crawl request.

Thirumal
  • 31
  • 6