Skip to content

Commit 46a6834

Browse files
committed
docs: remove the log commment for CreateCrawlConfig type
1 parent 0732aea commit 46a6834

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/cn/type/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export interface CreateCrawlConfig extends CrawlCommonConfig {
88
enableRandomFingerprint?: boolean
99
baseUrl?: string
1010
intervalTime?: IntervalTime
11-
/* log?:
11+
log?:
1212
| {
1313
start?: boolean
1414
process?: boolean
1515
result?: boolean
1616
}
17-
| boolean */
17+
| boolean
1818
crawlPage?: {
1919
puppeteerLaunchOptions?: PuppeteerLaunchOptions // PuppeteerLaunchOptions 来自于 puppeteer
2020
}
@@ -27,7 +27,7 @@ export interface CreateCrawlConfig extends CrawlCommonConfig {
2727
- enableRandomFingerprint: false
2828
- baseUrl: undefined
2929
- intervalTime: undefined
30-
<!-- - log: { start: true, process: true, result: true } -->
30+
- log: { start: true, process: true, result: true }
3131
- crawlPage: undefined
3232

3333
**外部类型**

docs/type/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ export interface CreateCrawlConfig extends CrawlCommonConfig {
88
enableRandomFingerprint?: boolean
99
baseUrl?: string
1010
intervalTime?: IntervalTime
11-
/* log?:
12-
| {
13-
start?: boolean
14-
process?: boolean
15-
result?: boolean
16-
}
17-
| boolean */
11+
log?:
12+
| {
13+
start?: boolean
14+
process?: boolean
15+
result?: boolean
16+
}
17+
| boolean
1818
crawlPage?: {
1919
puppeteerLaunchOptions?: PuppeteerLaunchOptions // PuppeteerLaunchOptions comes from puppeteer
2020
}
@@ -27,7 +27,7 @@ export interface CreateCrawlConfig extends CrawlCommonConfig {
2727
- enableRandomFingerprint: false
2828
- baseUrl: undefined
2929
- intervalTime: undefined
30-
<!-- - log: { start: true, process: true, result: true } -->
30+
- log: { start: true, process: true, result: true }
3131
- crawlPage: undefined
3232

3333
**External type**

0 commit comments

Comments
 (0)