Params for WebCrawler in crawler4j
crawler4j, java
Solution
I found the answer. You can use method CrawlController.setCustomData(Object customData) to store data and than you can fetch your data from crawler by using WebCrawler.getMyController().getCustomData().
Problem
Is it possible to pass params to WebCrawler ? For example I want to pass new rule for `WebCrawler.shouldVisit(WebURL url)` method in runtime or set some field in my WebCrawler. Is it possible?