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?
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().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With