Common the downloader status process and pass error information when onError

master
vio.ao 2022-10-01 17:34:02 +08:00
parent 7a62a6cb45
commit 5751681c91
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ public class PhantomJSPageProcessor implements PageProcessor {
}
public static void main(String[] args) throws Exception {
PhantomJSDownloader phantomDownloader = new PhantomJSDownloader().setRetryNum(3);
PhantomJSDownloader phantomDownloader = new PhantomJSDownloader();
CollectorPipeline<ResultItems> collectorPipeline = new ResultItemsCollectorPipeline();