Skip to content

Commit

Permalink
publish as version 0.9.3;
Browse files Browse the repository at this point in the history
rename option `maxConnection` to `concurrency`;
update unit test;
update document;
  • Loading branch information
Bin-Huang committed Nov 2, 2017
1 parent 819944b commit 6d7ba96
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 393 deletions.
345 changes: 0 additions & 345 deletions README-bk.md

This file was deleted.

8 changes: 5 additions & 3 deletions README-cn-bk.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
**NOTE** 本文档仅仅是备份,已经无法与新版本兼容

**NOTE** The package nodespider is still under development. That means frequent changes and potential bug. So it is not suggested to using it in your project.

# Features
Expand Down Expand Up @@ -57,7 +59,7 @@ const n = new Spider();
const nn = new Spider({
rateLimit: 20,
maxConnections: 20,
// or more
// or more
})
```
可选的设置:
Expand Down Expand Up @@ -191,7 +193,7 @@ nodespider自带两种plan: `defaultPlan`和`streamPlan`,具体文档可见[
- **info** 当前任务附带的信息
- **hasRetried** (可能不存在)当前任务已经重试的次数
- and more ... 以及可能的更多成员属性

**NOTE** 值得注意的是,当前任务的指定计划,或者是特定设置中的预处理函数,往往会修改`current`中的成员属性,甚至添加更多的成员属性。

## queue(planKey, url, special)
Expand Down Expand Up @@ -347,4 +349,4 @@ nodespider是一个开源爬虫package,主旨是让爬虫开发更简单、更
-[github](https://github.com/Ben-Hwang/NodeSpider)上star
- fork 以及 pull request
- 向他人推荐这个package
- 开源并分享你开发的nodespider预处理函数、queue、pipe以及plan发生器(文档即将补全)
- 开源并分享你开发的nodespider预处理函数、queue、pipe以及plan发生器(文档即将补全)
1 change: 1 addition & 0 deletions README-cn.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
**NOTE** 本文档仅仅是备份,已经无法与新版本兼容

# Features
- Simple and flexible
Expand Down
Loading

0 comments on commit 6d7ba96

Please sign in to comment.