@spider-cloud/spider-client 0.1.34 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config.d.ts +6 -2
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -368,9 +368,13 @@ export interface SpiderParams {
|
|
|
368
368
|
requests?: true;
|
|
369
369
|
};
|
|
370
370
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
* The timeout to stop the crawl.
|
|
372
|
+
*/
|
|
373
373
|
crawl_timeout?: Timeout;
|
|
374
|
+
/**
|
|
375
|
+
* Evaluates given script in every frame upon creation (before loading frame's scripts).
|
|
376
|
+
*/
|
|
377
|
+
evaluate_on_new_document?: string;
|
|
374
378
|
}
|
|
375
379
|
export type SpiderCoreResponse = {
|
|
376
380
|
content?: string;
|