for release

master
yihua.huang 2017-01-21 11:38:36 +08:00
parent d60615f503
commit f45e2f118b
10 changed files with 16 additions and 13 deletions

View File

@ -6,7 +6,7 @@
<version>7</version>
</parent>
<groupId>us.codecraft</groupId>
<version>0.6.1-SNAPSHOT</version>
<version>0.6.1</version>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
<properties>
@ -38,7 +38,7 @@
<connection>scm:git:git@github.com:code4craft/webmagic.git</connection>
<developerConnection>scm:git:git@github.com:code4craft/webmagic.git</developerConnection>
<url>git@github.com:code4craft/webmagic.git</url>
<tag>webmagic-parent-0.6.0</tag>
<tag>webmagic-parent-0.6.1</tag>
</scm>
<licenses>
<license>

View File

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

View File

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

View File

@ -39,6 +39,7 @@ public class PhantomJSDownloader extends AbstractDownloader {
* /usr/local/bin/phantomjs IOException
*
* @param phantomJsCommand
* @return this
*/
public PhantomJSDownloader(String phantomJsCommand) {
this.initPhantomjsCrawlPath();
@ -47,7 +48,7 @@ public class PhantomJSDownloader extends AbstractDownloader {
/**
* crawl.jsjarruntime.exec()phantomjs使jarcrawl.js
*
* <pre>
* crawl.js start -->>
*
* var system = require('system');
@ -69,13 +70,15 @@ public class PhantomJSDownloader extends AbstractDownloader {
* });
*
* <<-- crawl.js end
* </pre>
* js使
*
* example:
* new PhantomJSDownloader("/your/path/phantomjs", "/your/path/crawl.js");
*
* @param phantomJsCommand
* @param crawlJsPath
* @param phantomJsCommand phantomJsCommand
* @param crawlJsPath crawlJsPath
* @return this
*/
public PhantomJSDownloader(String phantomJsCommand, String crawlJsPath) {
PhantomJSDownloader.phantomJsCommand = phantomJsCommand;

View File

@ -45,7 +45,7 @@ public class SpiderMonitor {
*
* @param spiders spiders
* @return this
* @throws JMException
* @throws JMException JMException
*/
public synchronized SpiderMonitor register(Spider... spiders) throws JMException {
for (Spider spider : spiders) {

View File

@ -102,7 +102,7 @@ public class DoubleKeyMap<K1, K2, V> extends MultiKeyMapBase {
/**
* @param key1 key1
* @return
* @return map
*/
public Map<K2, V> remove(K1 key1) {
Map<K2, V> remove = map.remove(key1);

View File

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

View File

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

View File

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

View File

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