Common the downloader status process and pass error information when onError

pull/1085/head
vio.ao 2 years ago
parent 7a62a6cb45
commit 5751681c91

@ -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();

Loading…
Cancel
Save