public < T extends WebCrawler > void start ( Class < T > clazz , int numberOfCrawlers ) { this . start ( new DefaultWebCrawlerFactory <> ( clazz ) , numberOfCrawlers , true ) ; }
Start the crawling session and wait for it to finish . This method utilizes default crawler factory that creates new crawler using Java reflection