Common the downloader status process and pass error information when onError
parent
7a62a6cb45
commit
5751681c91
|
@ -36,7 +36,7 @@ public class PhantomJSPageProcessor implements PageProcessor {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
PhantomJSDownloader phantomDownloader = new PhantomJSDownloader().setRetryNum(3);
|
PhantomJSDownloader phantomDownloader = new PhantomJSDownloader();
|
||||||
|
|
||||||
CollectorPipeline<ResultItems> collectorPipeline = new ResultItemsCollectorPipeline();
|
CollectorPipeline<ResultItems> collectorPipeline = new ResultItemsCollectorPipeline();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue