diff --git a/README.md b/README.md index 32760b1f..4b0be52d 100644 --- a/README.md +++ b/README.md @@ -26,12 +26,12 @@ SeimiCrawler是一个敏捷的,独立部署的,支持分布式的Java爬虫 # 快速开始 # -添加maven依赖(中央maven库最新版本1.3.3): +添加maven依赖(中央maven库最新版本1.3.4): ``` cn.wanghaomiao SeimiCrawler - 1.3.3 + 1.3.4 ``` diff --git a/demo/pom.xml b/demo/pom.xml index 15e59e42..8f3f3f94 100644 --- a/demo/pom.xml +++ b/demo/pom.xml @@ -34,7 +34,7 @@ cn.wanghaomiao SeimiCrawler - 1.3.1 + 1.3.4 net.paoding diff --git a/project/pom.xml b/project/pom.xml index ef99eeda..1333c337 100644 --- a/project/pom.xml +++ b/project/pom.xml @@ -7,7 +7,7 @@ cn.wanghaomiao SeimiCrawler - 1.3.3 + 1.3.4 4.0.0 jar SeimiCrawler diff --git a/project/src/main/java/cn/wanghaomiao/seimi/struct/Request.java b/project/src/main/java/cn/wanghaomiao/seimi/struct/Request.java index 615808c2..db0b807b 100644 --- a/project/src/main/java/cn/wanghaomiao/seimi/struct/Request.java +++ b/project/src/main/java/cn/wanghaomiao/seimi/struct/Request.java @@ -250,8 +250,8 @@ public Request setCrawlerName(String crawlerName) { return this; } - public Request useSeimiAgent(){ - this.useSeimiAgent = true; + public Request setUseSeimiAgent(boolean useSeimiAgent){ + this.useSeimiAgent = useSeimiAgent; return this; }