@spider-cloud/spider-client 0.0.56 → 0.0.58
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 +4 -0
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -247,6 +247,10 @@ export interface SpiderParams {
|
|
|
247
247
|
* The wait for events on the page. You need to make your `request` `chrome` or `smart`.
|
|
248
248
|
*/
|
|
249
249
|
wait_for?: WaitFor;
|
|
250
|
+
/**
|
|
251
|
+
* Disable request interception when running 'request' as 'chrome' or 'smart'. This can help when the page uses 3rd party or external scripts to load content.
|
|
252
|
+
*/
|
|
253
|
+
disable_intercept?: boolean;
|
|
250
254
|
}
|
|
251
255
|
export type SpiderCoreResponse = {
|
|
252
256
|
content?: string;
|