@isdk/web-fetcher 0.3.1 → 0.3.2
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/README.action.cn.md +28 -4
- package/README.action.md +27 -4
- package/README.cn.md +2 -0
- package/README.engine.cn.md +1 -1
- package/README.engine.md +1 -1
- package/README.md +2 -0
- package/dist/index.d.mts +100 -2
- package/dist/index.d.ts +100 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +2 -0
- package/docs/_media/README.action.md +27 -4
- package/docs/_media/README.cn.md +2 -0
- package/docs/_media/README.engine.md +1 -1
- package/docs/classes/CheerioFetchEngine.md +168 -92
- package/docs/classes/ClickAction.md +23 -23
- package/docs/classes/EvaluateAction.md +23 -23
- package/docs/classes/ExtractAction.md +23 -23
- package/docs/classes/FetchAction.md +25 -23
- package/docs/classes/FetchEngine.md +158 -90
- package/docs/classes/FetchSession.md +13 -13
- package/docs/classes/FillAction.md +23 -23
- package/docs/classes/GetContentAction.md +23 -23
- package/docs/classes/GotoAction.md +23 -23
- package/docs/classes/KeyboardPressAction.md +23 -23
- package/docs/classes/KeyboardTypeAction.md +23 -23
- package/docs/classes/MouseClickAction.md +23 -23
- package/docs/classes/MouseMoveAction.md +23 -23
- package/docs/classes/MouseWheelAction.md +533 -0
- package/docs/classes/PauseAction.md +23 -23
- package/docs/classes/PlaywrightFetchEngine.md +251 -117
- package/docs/classes/ScrollIntoViewAction.md +533 -0
- package/docs/classes/SubmitAction.md +23 -23
- package/docs/classes/TrimAction.md +23 -23
- package/docs/classes/WaitForAction.md +23 -23
- package/docs/classes/WebFetcher.md +5 -5
- package/docs/enumerations/FetchActionResultStatus.md +4 -4
- package/docs/functions/fetchWeb.md +2 -2
- package/docs/functions/getRandomDelay.md +25 -0
- package/docs/globals.md +5 -0
- package/docs/interfaces/BaseFetchActionProperties.md +12 -12
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +16 -16
- package/docs/interfaces/BaseFetcherProperties.md +27 -27
- package/docs/interfaces/DispatchedEngineAction.md +4 -4
- package/docs/interfaces/EvaluateActionOptions.md +3 -3
- package/docs/interfaces/ExtractActionProperties.md +12 -12
- package/docs/interfaces/FetchActionInContext.md +15 -15
- package/docs/interfaces/FetchActionProperties.md +13 -13
- package/docs/interfaces/FetchActionResult.md +6 -6
- package/docs/interfaces/FetchContext.md +37 -37
- package/docs/interfaces/FetchEngineContext.md +32 -32
- package/docs/interfaces/FetchMetadata.md +5 -5
- package/docs/interfaces/FetchResponse.md +14 -14
- package/docs/interfaces/FetchReturnTypeRegistry.md +7 -7
- package/docs/interfaces/FetchSite.md +30 -30
- package/docs/interfaces/FetcherOptions.md +29 -29
- package/docs/interfaces/GotoActionOptions.md +7 -7
- package/docs/interfaces/KeyboardPressParams.md +3 -3
- package/docs/interfaces/KeyboardTypeParams.md +3 -3
- package/docs/interfaces/MouseClickParams.md +6 -6
- package/docs/interfaces/MouseMoveParams.md +5 -5
- package/docs/interfaces/MouseWheelParams.md +69 -0
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- package/docs/interfaces/ScrollIntoViewParams.md +17 -0
- package/docs/interfaces/StorageOptions.md +5 -5
- package/docs/interfaces/SubmitActionOptions.md +2 -2
- package/docs/interfaces/TrimActionOptions.md +3 -3
- package/docs/interfaces/WaitForActionOptions.md +5 -5
- package/docs/type-aliases/BaseFetchActionOptions.md +1 -1
- package/docs/type-aliases/BaseFetchCollectorOptions.md +1 -1
- package/docs/type-aliases/BrowserEngine.md +1 -1
- package/docs/type-aliases/FetchActionCapabilities.md +1 -1
- package/docs/type-aliases/FetchActionCapabilityMode.md +1 -1
- package/docs/type-aliases/FetchActionOptions.md +1 -1
- package/docs/type-aliases/FetchEngineAction.md +2 -2
- package/docs/type-aliases/FetchEngineType.md +1 -1
- package/docs/type-aliases/FetchReturnType.md +1 -1
- package/docs/type-aliases/FetchReturnTypeFor.md +1 -1
- package/docs/type-aliases/OnFetchPauseCallback.md +1 -1
- package/docs/type-aliases/ResourceType.md +1 -1
- package/docs/type-aliases/TrimPreset.md +1 -1
- package/docs/variables/DefaultFetcherProperties.md +1 -1
- package/docs/variables/FetcherOptionKeys.md +1 -1
- package/docs/variables/TRIM_PRESETS.md +1 -1
- package/package.json +7 -7
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: WebFetcher
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:17](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:17](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L17)
|
|
10
10
|
|
|
11
11
|
High-level entry point for the Web Fetcher library.
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ const { result } = await fetcher.fetch('https://example.com');
|
|
|
28
28
|
|
|
29
29
|
> **new WebFetcher**(`defaults`): `WebFetcher`
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:23](https://github.com/isdk/web-fetcher.js/blob/
|
|
31
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:23](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L23)
|
|
32
32
|
|
|
33
33
|
Creates a new WebFetcher with default options.
|
|
34
34
|
|
|
@@ -50,7 +50,7 @@ Default configuration options applied to all sessions and requests.
|
|
|
50
50
|
|
|
51
51
|
> **createSession**(`options?`): `Promise`\<[`FetchSession`](FetchSession.md)\>
|
|
52
52
|
|
|
53
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:31](https://github.com/isdk/web-fetcher.js/blob/
|
|
53
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:31](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L31)
|
|
54
54
|
|
|
55
55
|
Creates a new FetchSession.
|
|
56
56
|
|
|
@@ -76,7 +76,7 @@ A promise resolving to a new FetchSession instance.
|
|
|
76
76
|
|
|
77
77
|
> **fetch**(`url`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
78
78
|
|
|
79
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
79
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L47)
|
|
80
80
|
|
|
81
81
|
Fetches content from a URL or executes a complex action script.
|
|
82
82
|
|
|
@@ -109,7 +109,7 @@ retrieves the content, and disposes of the session.
|
|
|
109
109
|
|
|
110
110
|
> **fetch**(`options`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
111
111
|
|
|
112
|
-
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
112
|
+
Defined in: [packages/web-fetcher/src/core/web-fetcher.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/web-fetcher.ts#L54)
|
|
113
113
|
|
|
114
114
|
Fetches content from a URL or executes a complex action script.
|
|
115
115
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Enumeration: FetchActionResultStatus
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L7)
|
|
10
10
|
|
|
11
11
|
## Enumeration Members
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:7](https://github.c
|
|
|
14
14
|
|
|
15
15
|
> **Failed**: `0`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.com/isdk/web-fetcher.js/blob/
|
|
17
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L11)
|
|
18
18
|
|
|
19
19
|
动作执行失败但未抛出(通常因 failOnError=false);错误信息在 error 字段
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:11](https://github.
|
|
|
24
24
|
|
|
25
25
|
> **Skipped**: `2`
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L20)
|
|
28
28
|
|
|
29
29
|
动作被判定为不执行/降级为 noop(比如引擎不支持且 degradeTo='noop')
|
|
30
30
|
能力不支持且 degradeTo='noop' 时:status='skipped',warnings 增加 { code:'capability-not-supported' }
|
|
@@ -35,6 +35,6 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:20](https://github.
|
|
|
35
35
|
|
|
36
36
|
> **Success**: `1`
|
|
37
37
|
|
|
38
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:15](https://github.com/isdk/web-fetcher.js/blob/
|
|
38
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:15](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L15)
|
|
39
39
|
|
|
40
40
|
动作按预期完成(即便产生 warnings)
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
> **fetchWeb**(`options`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/web-fetcher.js/blob/
|
|
13
|
+
Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/fetch-web.ts#L4)
|
|
14
14
|
|
|
15
15
|
### Parameters
|
|
16
16
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/web-fetcher/src/fetch-web.ts:4](https://github.com/isdk/we
|
|
|
26
26
|
|
|
27
27
|
> **fetchWeb**(`url`, `options?`): `Promise`\<\{ `outputs`: `Record`\<`string`, `any`\>; `result`: [`FetchResponse`](../interfaces/FetchResponse.md) \| `undefined`; \}\>
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/web-fetcher/src/fetch-web.ts:7](https://github.com/isdk/web-fetcher.js/blob/
|
|
29
|
+
Defined in: [packages/web-fetcher/src/fetch-web.ts:7](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/fetch-web.ts#L7)
|
|
30
30
|
|
|
31
31
|
### Parameters
|
|
32
32
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[**@isdk/web-fetcher**](../README.md)
|
|
2
|
+
|
|
3
|
+
***
|
|
4
|
+
|
|
5
|
+
[@isdk/web-fetcher](../globals.md) / getRandomDelay
|
|
6
|
+
|
|
7
|
+
# Function: getRandomDelay()
|
|
8
|
+
|
|
9
|
+
> **getRandomDelay**(`base`, `variance`): `number`
|
|
10
|
+
|
|
11
|
+
Defined in: [packages/web-fetcher/src/engine/base.ts:1587](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/engine/base.ts#L1587)
|
|
12
|
+
|
|
13
|
+
## Parameters
|
|
14
|
+
|
|
15
|
+
### base
|
|
16
|
+
|
|
17
|
+
`number`
|
|
18
|
+
|
|
19
|
+
### variance
|
|
20
|
+
|
|
21
|
+
`number` = `0.3`
|
|
22
|
+
|
|
23
|
+
## Returns
|
|
24
|
+
|
|
25
|
+
`number`
|
package/docs/globals.md
CHANGED
|
@@ -24,8 +24,10 @@
|
|
|
24
24
|
- [KeyboardTypeAction](classes/KeyboardTypeAction.md)
|
|
25
25
|
- [MouseClickAction](classes/MouseClickAction.md)
|
|
26
26
|
- [MouseMoveAction](classes/MouseMoveAction.md)
|
|
27
|
+
- [MouseWheelAction](classes/MouseWheelAction.md)
|
|
27
28
|
- [PauseAction](classes/PauseAction.md)
|
|
28
29
|
- [PlaywrightFetchEngine](classes/PlaywrightFetchEngine.md)
|
|
30
|
+
- [ScrollIntoViewAction](classes/ScrollIntoViewAction.md)
|
|
29
31
|
- [SubmitAction](classes/SubmitAction.md)
|
|
30
32
|
- [TrimAction](classes/TrimAction.md)
|
|
31
33
|
- [WaitForAction](classes/WaitForAction.md)
|
|
@@ -55,7 +57,9 @@
|
|
|
55
57
|
- [KeyboardTypeParams](interfaces/KeyboardTypeParams.md)
|
|
56
58
|
- [MouseClickParams](interfaces/MouseClickParams.md)
|
|
57
59
|
- [MouseMoveParams](interfaces/MouseMoveParams.md)
|
|
60
|
+
- [MouseWheelParams](interfaces/MouseWheelParams.md)
|
|
58
61
|
- [PendingEngineRequest](interfaces/PendingEngineRequest.md)
|
|
62
|
+
- [ScrollIntoViewParams](interfaces/ScrollIntoViewParams.md)
|
|
59
63
|
- [StorageOptions](interfaces/StorageOptions.md)
|
|
60
64
|
- [SubmitActionOptions](interfaces/SubmitActionOptions.md)
|
|
61
65
|
- [TrimActionOptions](interfaces/TrimActionOptions.md)
|
|
@@ -86,3 +90,4 @@
|
|
|
86
90
|
## Functions
|
|
87
91
|
|
|
88
92
|
- [fetchWeb](functions/fetchWeb.md)
|
|
93
|
+
- [getRandomDelay](functions/getRandomDelay.md)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetchActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L46)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -24,7 +24,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.
|
|
|
24
24
|
|
|
25
25
|
> `optional` **action**: `string` \| [`FetchAction`](../classes/FetchAction.md)
|
|
26
26
|
|
|
27
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
27
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L49)
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
32
32
|
|
|
33
33
|
> `optional` **args**: `any`
|
|
34
34
|
|
|
35
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/
|
|
35
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L52)
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
@@ -40,7 +40,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.
|
|
|
40
40
|
|
|
41
41
|
> `optional` **failOnError**: `boolean`
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/
|
|
43
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L57)
|
|
44
44
|
|
|
45
45
|
***
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.
|
|
|
48
48
|
|
|
49
49
|
> `optional` **failOnTimeout**: `boolean`
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/
|
|
51
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L59)
|
|
52
52
|
|
|
53
53
|
***
|
|
54
54
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.
|
|
|
56
56
|
|
|
57
57
|
> `optional` **id**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
59
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L47)
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
@@ -64,7 +64,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
64
64
|
|
|
65
65
|
> `optional` **index**: `number`
|
|
66
66
|
|
|
67
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/
|
|
67
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L50)
|
|
68
68
|
|
|
69
69
|
***
|
|
70
70
|
|
|
@@ -72,7 +72,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.
|
|
|
72
72
|
|
|
73
73
|
> `optional` **maxRetries**: `number`
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/
|
|
75
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L61)
|
|
76
76
|
|
|
77
77
|
***
|
|
78
78
|
|
|
@@ -80,7 +80,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.
|
|
|
80
80
|
|
|
81
81
|
> `optional` **name**: `string`
|
|
82
82
|
|
|
83
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
83
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L48)
|
|
84
84
|
|
|
85
85
|
***
|
|
86
86
|
|
|
@@ -88,7 +88,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.
|
|
|
88
88
|
|
|
89
89
|
> `optional` **params**: `any`
|
|
90
90
|
|
|
91
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/
|
|
91
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L51)
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
@@ -96,7 +96,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.
|
|
|
96
96
|
|
|
97
97
|
> `optional` **storeAs**: `string`
|
|
98
98
|
|
|
99
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
99
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L54)
|
|
100
100
|
|
|
101
101
|
***
|
|
102
102
|
|
|
@@ -104,4 +104,4 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
104
104
|
|
|
105
105
|
> `optional` **timeoutMs**: `number`
|
|
106
106
|
|
|
107
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/
|
|
107
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L60)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetchCollectorActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L69)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:69](https://github.
|
|
|
22
22
|
|
|
23
23
|
> `optional` **action**: `string` \| [`FetchAction`](../classes/FetchAction.md)
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
25
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L49)
|
|
26
26
|
|
|
27
27
|
#### Inherited from
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
34
34
|
|
|
35
35
|
> `optional` **activateOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
36
36
|
|
|
37
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.com/isdk/web-fetcher.js/blob/
|
|
37
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L72)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:72](https://github.
|
|
|
42
42
|
|
|
43
43
|
> `optional` **args**: `any`
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/
|
|
45
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L52)
|
|
46
46
|
|
|
47
47
|
#### Inherited from
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:52](https://github.
|
|
|
54
54
|
|
|
55
55
|
> `optional` **background**: `boolean`
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.com/isdk/web-fetcher.js/blob/
|
|
57
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L78)
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:78](https://github.
|
|
|
62
62
|
|
|
63
63
|
> `optional` **collectOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/
|
|
65
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L76)
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.
|
|
|
70
70
|
|
|
71
71
|
> `optional` **deactivateOn**: `string` \| `RegExp` \| (`string` \| `RegExp`)[]
|
|
72
72
|
|
|
73
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.com/isdk/web-fetcher.js/blob/
|
|
73
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L74)
|
|
74
74
|
|
|
75
75
|
***
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:74](https://github.
|
|
|
78
78
|
|
|
79
79
|
> `optional` **failOnError**: `boolean`
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/
|
|
81
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L57)
|
|
82
82
|
|
|
83
83
|
#### Inherited from
|
|
84
84
|
|
|
@@ -90,7 +90,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.
|
|
|
90
90
|
|
|
91
91
|
> `optional` **failOnTimeout**: `boolean`
|
|
92
92
|
|
|
93
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/
|
|
93
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L59)
|
|
94
94
|
|
|
95
95
|
#### Inherited from
|
|
96
96
|
|
|
@@ -102,7 +102,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:59](https://github.
|
|
|
102
102
|
|
|
103
103
|
> `optional` **id**: `string`
|
|
104
104
|
|
|
105
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
105
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L47)
|
|
106
106
|
|
|
107
107
|
#### Inherited from
|
|
108
108
|
|
|
@@ -114,7 +114,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
114
114
|
|
|
115
115
|
> `optional` **index**: `number`
|
|
116
116
|
|
|
117
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/
|
|
117
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L50)
|
|
118
118
|
|
|
119
119
|
#### Inherited from
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:50](https://github.
|
|
|
126
126
|
|
|
127
127
|
> `optional` **maxRetries**: `number`
|
|
128
128
|
|
|
129
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/
|
|
129
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L61)
|
|
130
130
|
|
|
131
131
|
#### Inherited from
|
|
132
132
|
|
|
@@ -138,7 +138,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:61](https://github.
|
|
|
138
138
|
|
|
139
139
|
> `optional` **name**: `string`
|
|
140
140
|
|
|
141
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
141
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L48)
|
|
142
142
|
|
|
143
143
|
#### Inherited from
|
|
144
144
|
|
|
@@ -150,7 +150,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.
|
|
|
150
150
|
|
|
151
151
|
> `optional` **params**: `any`
|
|
152
152
|
|
|
153
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/
|
|
153
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L51)
|
|
154
154
|
|
|
155
155
|
#### Inherited from
|
|
156
156
|
|
|
@@ -162,7 +162,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.
|
|
|
162
162
|
|
|
163
163
|
> `optional` **storeAs**: `string`
|
|
164
164
|
|
|
165
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
165
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L54)
|
|
166
166
|
|
|
167
167
|
#### Inherited from
|
|
168
168
|
|
|
@@ -174,7 +174,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
174
174
|
|
|
175
175
|
> `optional` **timeoutMs**: `number`
|
|
176
176
|
|
|
177
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/
|
|
177
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:60](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/action/fetch-action.ts#L60)
|
|
178
178
|
|
|
179
179
|
#### Inherited from
|
|
180
180
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: BaseFetcherProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:63](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:63](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L63)
|
|
10
10
|
|
|
11
11
|
## Extended by
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:63](https://github.com/isdk/
|
|
|
20
20
|
|
|
21
21
|
> `optional` **antibot**: `boolean`
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/web-fetcher.js/blob/
|
|
23
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L74)
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/
|
|
|
28
28
|
|
|
29
29
|
> `optional` **blockResources**: `string`[]
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/web-fetcher.js/blob/
|
|
31
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L91)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/
|
|
|
36
36
|
|
|
37
37
|
> `optional` **browser**: `object`
|
|
38
38
|
|
|
39
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk/web-fetcher.js/blob/
|
|
39
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L101)
|
|
40
40
|
|
|
41
41
|
#### engine?
|
|
42
42
|
|
|
@@ -65,7 +65,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk
|
|
|
65
65
|
|
|
66
66
|
> `optional` **cookies**: [`Cookie`](Cookie.md)[]
|
|
67
67
|
|
|
68
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/web-fetcher.js/blob/
|
|
68
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L78)
|
|
69
69
|
|
|
70
70
|
***
|
|
71
71
|
|
|
@@ -73,7 +73,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/
|
|
|
73
73
|
|
|
74
74
|
> `optional` **debug**: `string` \| `boolean` \| `string`[]
|
|
75
75
|
|
|
76
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/web-fetcher.js/blob/
|
|
76
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L75)
|
|
77
77
|
|
|
78
78
|
***
|
|
79
79
|
|
|
@@ -81,7 +81,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/
|
|
|
81
81
|
|
|
82
82
|
> `optional` **delayBetweenRequestsMs**: `number`
|
|
83
83
|
|
|
84
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:123](https://github.com/isdk/web-fetcher.js/blob/
|
|
84
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:123](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L123)
|
|
85
85
|
|
|
86
86
|
***
|
|
87
87
|
|
|
@@ -89,7 +89,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:123](https://github.com/isdk
|
|
|
89
89
|
|
|
90
90
|
> `optional` **enableSmart**: `boolean`
|
|
91
91
|
|
|
92
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/web-fetcher.js/blob/
|
|
92
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L72)
|
|
93
93
|
|
|
94
94
|
***
|
|
95
95
|
|
|
@@ -97,7 +97,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/
|
|
|
97
97
|
|
|
98
98
|
> `optional` **engine**: `string`
|
|
99
99
|
|
|
100
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/web-fetcher.js/blob/
|
|
100
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L71)
|
|
101
101
|
|
|
102
102
|
抓取模式
|
|
103
103
|
|
|
@@ -111,7 +111,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/
|
|
|
111
111
|
|
|
112
112
|
> `optional` **headers**: `Record`\<`string`, `string`\>
|
|
113
113
|
|
|
114
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/web-fetcher.js/blob/
|
|
114
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L77)
|
|
115
115
|
|
|
116
116
|
***
|
|
117
117
|
|
|
@@ -119,7 +119,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/
|
|
|
119
119
|
|
|
120
120
|
> `optional` **http**: `object`
|
|
121
121
|
|
|
122
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk/web-fetcher.js/blob/
|
|
122
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L114)
|
|
123
123
|
|
|
124
124
|
#### body?
|
|
125
125
|
|
|
@@ -135,7 +135,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk
|
|
|
135
135
|
|
|
136
136
|
> `optional` **ignoreSslErrors**: `boolean`
|
|
137
137
|
|
|
138
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/web-fetcher.js/blob/
|
|
138
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L99)
|
|
139
139
|
|
|
140
140
|
***
|
|
141
141
|
|
|
@@ -143,7 +143,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/
|
|
|
143
143
|
|
|
144
144
|
> `optional` **maxConcurrency**: `number`
|
|
145
145
|
|
|
146
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:121](https://github.com/isdk/web-fetcher.js/blob/
|
|
146
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:121](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L121)
|
|
147
147
|
|
|
148
148
|
***
|
|
149
149
|
|
|
@@ -151,7 +151,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:121](https://github.com/isdk
|
|
|
151
151
|
|
|
152
152
|
> `optional` **maxRequestsPerMinute**: `number`
|
|
153
153
|
|
|
154
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:122](https://github.com/isdk/web-fetcher.js/blob/
|
|
154
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:122](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L122)
|
|
155
155
|
|
|
156
156
|
***
|
|
157
157
|
|
|
@@ -159,7 +159,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:122](https://github.com/isdk
|
|
|
159
159
|
|
|
160
160
|
> `optional` **output**: `object`
|
|
161
161
|
|
|
162
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/web-fetcher.js/blob/
|
|
162
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L84)
|
|
163
163
|
|
|
164
164
|
#### cookies?
|
|
165
165
|
|
|
@@ -175,7 +175,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/
|
|
|
175
175
|
|
|
176
176
|
> `optional` **overrideSessionState**: `boolean`
|
|
177
177
|
|
|
178
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/web-fetcher.js/blob/
|
|
178
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L81)
|
|
179
179
|
|
|
180
180
|
***
|
|
181
181
|
|
|
@@ -183,7 +183,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/
|
|
|
183
183
|
|
|
184
184
|
> `optional` **proxy**: `string` \| `string`[]
|
|
185
185
|
|
|
186
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/web-fetcher.js/blob/
|
|
186
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L89)
|
|
187
187
|
|
|
188
188
|
***
|
|
189
189
|
|
|
@@ -191,7 +191,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/
|
|
|
191
191
|
|
|
192
192
|
> `optional` **requestHandlerTimeoutSecs**: `number`
|
|
193
193
|
|
|
194
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:120](https://github.com/isdk/web-fetcher.js/blob/
|
|
194
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:120](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L120)
|
|
195
195
|
|
|
196
196
|
***
|
|
197
197
|
|
|
@@ -199,7 +199,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:120](https://github.com/isdk
|
|
|
199
199
|
|
|
200
200
|
> `optional` **retries**: `number`
|
|
201
201
|
|
|
202
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:124](https://github.com/isdk/web-fetcher.js/blob/
|
|
202
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:124](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L124)
|
|
203
203
|
|
|
204
204
|
***
|
|
205
205
|
|
|
@@ -207,7 +207,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:124](https://github.com/isdk
|
|
|
207
207
|
|
|
208
208
|
> `optional` **sessionPoolOptions**: `SessionPoolOptions`
|
|
209
209
|
|
|
210
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/web-fetcher.js/blob/
|
|
210
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L80)
|
|
211
211
|
|
|
212
212
|
***
|
|
213
213
|
|
|
@@ -215,7 +215,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/
|
|
|
215
215
|
|
|
216
216
|
> `optional` **sessionState**: `any`
|
|
217
217
|
|
|
218
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/web-fetcher.js/blob/
|
|
218
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L79)
|
|
219
219
|
|
|
220
220
|
***
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/
|
|
|
223
223
|
|
|
224
224
|
> `optional` **sites**: [`FetchSite`](FetchSite.md)[]
|
|
225
225
|
|
|
226
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:126](https://github.com/isdk/web-fetcher.js/blob/
|
|
226
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:126](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L126)
|
|
227
227
|
|
|
228
228
|
***
|
|
229
229
|
|
|
@@ -231,7 +231,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:126](https://github.com/isdk
|
|
|
231
231
|
|
|
232
232
|
> `optional` **storage**: [`StorageOptions`](StorageOptions.md)
|
|
233
233
|
|
|
234
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:96](https://github.com/isdk/web-fetcher.js/blob/
|
|
234
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:96](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L96)
|
|
235
235
|
|
|
236
236
|
Storage configuration for session isolation and persistence.
|
|
237
237
|
|
|
@@ -241,7 +241,7 @@ Storage configuration for session isolation and persistence.
|
|
|
241
241
|
|
|
242
242
|
> `optional` **throwHttpErrors**: `boolean`
|
|
243
243
|
|
|
244
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/web-fetcher.js/blob/
|
|
244
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L82)
|
|
245
245
|
|
|
246
246
|
***
|
|
247
247
|
|
|
@@ -249,7 +249,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/
|
|
|
249
249
|
|
|
250
250
|
> `optional` **timeoutMs**: `number`
|
|
251
251
|
|
|
252
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk/web-fetcher.js/blob/
|
|
252
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L119)
|
|
253
253
|
|
|
254
254
|
***
|
|
255
255
|
|
|
@@ -257,7 +257,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk
|
|
|
257
257
|
|
|
258
258
|
> `optional` **url**: `string`
|
|
259
259
|
|
|
260
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:127](https://github.com/isdk/web-fetcher.js/blob/
|
|
260
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:127](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L127)
|
|
261
261
|
|
|
262
262
|
***
|
|
263
263
|
|
|
@@ -265,4 +265,4 @@ Defined in: [packages/web-fetcher/src/core/types.ts:127](https://github.com/isdk
|
|
|
265
265
|
|
|
266
266
|
> `optional` **useSiteRegistry**: `boolean`
|
|
267
267
|
|
|
268
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/web-fetcher.js/blob/
|
|
268
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/web-fetcher.js/blob/ff2bf8a6938cad6b2dc7c85fb1380de226cb3724/src/core/types.ts#L73)
|