@spider-cloud/spider-client 0.1.51 → 0.1.53
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
|
@@ -255,6 +255,10 @@ export interface SpiderParams {
|
|
|
255
255
|
* The dimensions of the viewport.
|
|
256
256
|
*/
|
|
257
257
|
viewport?: Viewport;
|
|
258
|
+
/**
|
|
259
|
+
* The two letter country code for the request geo-location.
|
|
260
|
+
*/
|
|
261
|
+
country_code?: string;
|
|
258
262
|
/**
|
|
259
263
|
* The encoding to be used for the request.
|
|
260
264
|
*/
|
|
@@ -336,9 +340,9 @@ export interface SpiderParams {
|
|
|
336
340
|
*/
|
|
337
341
|
return_cookies?: boolean;
|
|
338
342
|
/**
|
|
339
|
-
* The timeout for the request, in
|
|
343
|
+
* The timeout for the request, in seconds.
|
|
340
344
|
*/
|
|
341
|
-
request_timeout?:
|
|
345
|
+
request_timeout?: number;
|
|
342
346
|
/**
|
|
343
347
|
* Specifies whether to run the request in the background.
|
|
344
348
|
*/
|