pull/476/head^2
yihua.huang 8 years ago
parent f45e2f118b
commit 3e633c6871

@ -6,7 +6,7 @@
<version>7</version> <version>7</version>
</parent> </parent>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging> <packaging>pom</packaging>
<properties> <properties>

@ -3,7 +3,7 @@
<parent> <parent>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -3,7 +3,7 @@
<parent> <parent>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -39,7 +39,6 @@ public class PhantomJSDownloader extends AbstractDownloader {
* /usr/local/bin/phantomjs IOException * /usr/local/bin/phantomjs IOException
* *
* @param phantomJsCommand * @param phantomJsCommand
* @return this
*/ */
public PhantomJSDownloader(String phantomJsCommand) { public PhantomJSDownloader(String phantomJsCommand) {
this.initPhantomjsCrawlPath(); this.initPhantomjsCrawlPath();
@ -49,7 +48,7 @@ public class PhantomJSDownloader extends AbstractDownloader {
/** /**
* crawl.jsjarruntime.exec()phantomjs使jarcrawl.js * crawl.jsjarruntime.exec()phantomjs使jarcrawl.js
* <pre> * <pre>
* crawl.js start -->> * crawl.js start --
* *
* var system = require('system'); * var system = require('system');
* var url = system.args[1]; * var url = system.args[1];
@ -69,7 +68,7 @@ public class PhantomJSDownloader extends AbstractDownloader {
* phantom.exit(); * phantom.exit();
* }); * });
* *
* <<-- crawl.js end * -- crawl.js end
* </pre> * </pre>
* js使 * js使
* *
@ -78,7 +77,6 @@ public class PhantomJSDownloader extends AbstractDownloader {
* *
* @param phantomJsCommand phantomJsCommand * @param phantomJsCommand phantomJsCommand
* @param crawlJsPath crawlJsPath * @param crawlJsPath crawlJsPath
* @return this
*/ */
public PhantomJSDownloader(String phantomJsCommand, String crawlJsPath) { public PhantomJSDownloader(String phantomJsCommand, String crawlJsPath) {
PhantomJSDownloader.phantomJsCommand = phantomJsCommand; PhantomJSDownloader.phantomJsCommand = phantomJsCommand;

@ -3,7 +3,7 @@
<parent> <parent>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -3,7 +3,7 @@
<parent> <parent>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -3,7 +3,7 @@
<parent> <parent>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

@ -3,7 +3,7 @@
<parent> <parent>
<artifactId>webmagic-parent</artifactId> <artifactId>webmagic-parent</artifactId>
<groupId>us.codecraft</groupId> <groupId>us.codecraft</groupId>
<version>0.6.1</version> <version>0.6.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

Loading…
Cancel
Save