@spider-cloud/spider-client 0.0.50 → 0.0.52
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 +3 -3
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -67,11 +67,11 @@ export interface SpiderParams {
|
|
|
67
67
|
/**
|
|
68
68
|
* The blacklist routes to ignore. This can be a Regex string pattern.
|
|
69
69
|
*/
|
|
70
|
-
|
|
70
|
+
blacklist?: string[];
|
|
71
71
|
/**
|
|
72
72
|
* The whitelist routes to only crawl. This can be a Regex string pattern and used with black_listing.
|
|
73
73
|
*/
|
|
74
|
-
|
|
74
|
+
whitelist?: string[];
|
|
75
75
|
/**
|
|
76
76
|
* The locale to be used during the crawl.
|
|
77
77
|
*/
|
|
@@ -178,7 +178,7 @@ export interface SpiderParams {
|
|
|
178
178
|
chunking_alg?: ChunkingAlg;
|
|
179
179
|
}
|
|
180
180
|
export type SpiderCoreResponse = {
|
|
181
|
-
|
|
181
|
+
content?: string;
|
|
182
182
|
message?: string;
|
|
183
183
|
error?: string;
|
|
184
184
|
status?: number;
|