You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about/faq.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ The crawlPage API has built-in [puppeteer](https://github.com/puppeteer/puppetee
6
6
7
7
## Using crawlPage API causes the program to crash
8
8
9
-
If you need to crawl many pages in one crawlPage, it is recommended that after crawling each page, use [onCrawlItemComplete life cycle function] (#onCrawlItemComplete) to process the results of each target and close the page instance. If no shutdown operation is performed, then The program may crash due to too many pages being opened (related to the performance of the device itself).
9
+
If you need to crawl many pages in one crawlPage, it is recommended that after crawling each page, use [onCrawlItemComplete life cycle function](/guide/crawl-page#life-cycle) to process the results of each target and close the page instance. If no shutdown operation is performed, then The program may crash due to too many pages being opened (related to the performance of the device itself).
The res obtained will be an array containing objects.
153
+
For more configuration options, see [CrawlDataAdvancedConfig](/cn/type/crawl-data#crawldataadvancedconfig).
148
154
149
-
For more configuration options, see [CrawlDataAdvancedConfig](#CrawlDataAdvancedConfig).
155
+
::: tip
156
+
The res obtained will be an array containing objects.
157
+
:::
150
158
151
-
For more information about the results, please view [About the results](#About theresults). You can choose it according to the actual situation.
159
+
For more information about the results, please view [About the results](/guide/results#about-the-results). You can choose it according to the actual situation.
The res obtained will be an array containing objects.
153
+
For more configuration options, see [CrawlFileAdvancedConfig](/type/crawl-file/cn/type/crawl-file#crawlfileadvancedconfig).
148
154
149
-
For more configuration options, see [CrawlFileAdvancedConfig](#CrawlFileAdvancedConfig).
155
+
::: tip
156
+
The res obtained will be an array containing objects.
157
+
:::
150
158
151
-
For more information about the results, please view [About the results](#About theresults). You can choose it according to the actual situation.
159
+
For more information about the results, please view [About the results](/guide/results#about-the-results). You can choose it according to the actual situation.
The res obtained will be an array containing objects.
137
+
For more configuration options, see [CrawlHTMLAdvancedConfig](/type/crawl-html#crawlhtmladvancedconfig).
132
138
133
-
For more configuration options, see [CrawlHTMLAdvancedConfig](#CrawlHTMLAdvancedConfig).
139
+
::: tip
140
+
The res obtained will be an array containing objects.
141
+
:::
134
142
135
-
For more information about the results, please view [About the results](#About theresults). You can choose it according to the actual situation.
143
+
For more information about the results, please view [About the results](/guide/results#about-the-results). You can choose it according to the actual situation.
The res obtained will be an array containing objects.
142
+
For more configuration options, see [CrawlPageAdvancedConfig](/type/crawl-page#crawlpageadvancedconfig).
137
143
138
-
For more configuration options, see [CrawlPageAdvancedConfig](#CrawlPageAdvancedConfig).
144
+
::: tip
145
+
The res obtained will be an array containing objects.
146
+
:::
139
147
140
-
For more information about the results, please view [About the results](#About theresults). You can choose it according to the actual situation.
148
+
For more information about the results, please view [About the results](/guide/results#about-the-results). You can choose it according to the actual situation.
0 commit comments