Skip to content

Commit

Permalink
1.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
xtuhcy committed Jan 28, 2016
1 parent 1841a5a commit ee9bb3d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ SpiderBeanContext包括需要该SpiderBean的渲染类(目前支持HTML、JSON
<dependency>
<groupId>com.geccocrawler</groupId>
<artifactId>gecco</artifactId>
<version>1.0.2</version>
<version>1.0.3</version>
</dependency>

##QuikStart
Expand Down Expand Up @@ -107,8 +107,6 @@ SpiderBeanContext包括需要该SpiderBean的渲染类(目前支持HTML、JSON
public static void main(String[] args) {
GeccoEngine.create()
.classpath("com.geccocrawler.gecco.demo")
//爬虫userAgent设置
.userAgent("Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36")
//开始抓取的页面地址
.start("https://github.com/xtuhcy/gecco")
//开启几个爬虫线程
Expand Down

0 comments on commit ee9bb3d

Please sign in to comment.