Skip to content

Commit cb1fe49

Browse files
committed
update: docs
1 parent a013b11 commit cb1fe49

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ English | [简体中文](https://github.com/coder-hxl/x-crawl/blob/main/docs/cn.
44

55
x-crawl is a flexible nodejs crawler library.
66

7-
If it helps you, please give the [x-crawl repository](https://github.com/coder-hxl/x-crawl) a Star to support it.
7+
If it helps you, you can give [x-crawl repository](https://github.com/coder-hxl/x-crawl) a Star support.
88

99
## Features
1010

@@ -14,7 +14,7 @@ If it helps you, please give the [x-crawl repository](https://github.com/coder-h
1414
- Support Promise/Callback method to get the result.
1515
- Polling function, timing crawling.
1616
- Anthropomorphic request interval.
17-
- Written in TypeScript, providing generics.
17+
- Written in TypeScript, has type hints, provides generics.
1818

1919
## Relationship with puppeteer
2020

docs/cn.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
x-crawl 是一个灵活的 nodejs 爬虫库。
66

7-
如果对您有帮助,请给 [x-crawl 存储库](https://github.com/coder-hxl/x-crawl) 点个 Star 支持一下。
7+
如果对您有帮助,可以给 [x-crawl 存储库](https://github.com/coder-hxl/x-crawl) 点个 Star 支持一下。
88

99
## 特征
1010

@@ -14,7 +14,7 @@ x-crawl 是一个灵活的 nodejs 爬虫库。
1414
- 支持 Promise/Callback 方式获取结果。
1515
- 轮询功能,定时爬取。
1616
- 拟人化的请求间隔时间。
17-
- 使用 TypeScript 编写,提供泛型。
17+
- 使用 TypeScript 编写,拥有的类型提示,提供泛型。
1818

1919
## 跟 puppeteer 的关系
2020

@@ -133,6 +133,7 @@ myXCrawl.startPolling({ d: 1 }, () => {
133133
<div align="center">
134134
<img src="https://raw.githubusercontent.com/coder-hxl/x-crawl/main/assets/cn/crawler-result.png" />
135135
</div>
136+
136137
**注意:** 请勿随意爬取,爬取前可查看 **robots.txt** 协议。这里只是为了演示如何使用 x-crawl 。
137138

138139
## 核心概念

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "x-crawl",
4-
"version": "3.1.1",
4+
"version": "3.1.2",
55
"author": "coderHXL",
66
"description": "x-crawl is a flexible nodejs crawler library. ",
77
"license": "MIT",

0 commit comments

Comments
 (0)