@isdk/web-fetcher 0.2.10 → 0.2.11
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.cn.md +8 -6
- package/README.md +8 -6
- package/dist/index.d.mts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +8 -6
- package/docs/_media/README.cn.md +8 -6
- package/docs/classes/CheerioFetchEngine.md +76 -64
- package/docs/classes/ClickAction.md +23 -23
- package/docs/classes/ExtractAction.md +23 -23
- package/docs/classes/FetchAction.md +23 -23
- package/docs/classes/FetchEngine.md +72 -64
- package/docs/classes/FetchSession.md +10 -10
- package/docs/classes/FillAction.md +23 -23
- package/docs/classes/GetContentAction.md +23 -23
- package/docs/classes/GotoAction.md +23 -23
- package/docs/classes/PauseAction.md +23 -23
- package/docs/classes/PlaywrightFetchEngine.md +76 -64
- package/docs/classes/SubmitAction.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/interfaces/BaseFetchActionProperties.md +11 -11
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +15 -15
- package/docs/interfaces/BaseFetcherProperties.md +34 -26
- package/docs/interfaces/DispatchedEngineAction.md +4 -4
- package/docs/interfaces/ExtractActionProperties.md +11 -11
- package/docs/interfaces/FetchActionInContext.md +15 -15
- package/docs/interfaces/FetchActionProperties.md +12 -12
- package/docs/interfaces/FetchActionResult.md +6 -6
- package/docs/interfaces/FetchContext.md +48 -36
- package/docs/interfaces/FetchEngineContext.md +43 -31
- 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 +41 -29
- package/docs/interfaces/FetcherOptions.md +40 -28
- package/docs/interfaces/GotoActionOptions.md +6 -6
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- package/docs/interfaces/StorageOptions.md +5 -5
- package/docs/interfaces/SubmitActionOptions.md +2 -2
- 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 +1 -1
- 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/variables/DefaultFetcherProperties.md +1 -1
- package/docs/variables/FetcherOptionKeys.md +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchActionProperties
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L76)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:76](https://github.
|
|
|
26
26
|
|
|
27
27
|
> `optional` **action**: `string` \| [`FetchAction`](../classes/FetchAction.md)
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/
|
|
29
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L47)
|
|
30
30
|
|
|
31
31
|
#### Inherited from
|
|
32
32
|
|
|
@@ -38,7 +38,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:47](https://github.
|
|
|
38
38
|
|
|
39
39
|
> `optional` **args**: `any`
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/
|
|
41
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L49)
|
|
42
42
|
|
|
43
43
|
#### Inherited from
|
|
44
44
|
|
|
@@ -50,7 +50,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:49](https://github.
|
|
|
50
50
|
|
|
51
51
|
> `optional` **collectors**: `_RequireAtLeastOne`\<[`BaseFetchCollectorActionProperties`](BaseFetchCollectorActionProperties.md), `"name"` \| `"id"` \| `"action"`\>[]
|
|
52
52
|
|
|
53
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:77](https://github.com/isdk/web-fetcher.js/blob/
|
|
53
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:77](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L77)
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
@@ -58,7 +58,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:77](https://github.
|
|
|
58
58
|
|
|
59
59
|
> `optional` **failOnError**: `boolean`
|
|
60
60
|
|
|
61
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/
|
|
61
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L54)
|
|
62
62
|
|
|
63
63
|
#### Inherited from
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:54](https://github.
|
|
|
70
70
|
|
|
71
71
|
> `optional` **failOnTimeout**: `boolean`
|
|
72
72
|
|
|
73
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.com/isdk/web-fetcher.js/blob/
|
|
73
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L56)
|
|
74
74
|
|
|
75
75
|
#### Inherited from
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:56](https://github.
|
|
|
82
82
|
|
|
83
83
|
> `optional` **id**: `string`
|
|
84
84
|
|
|
85
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.com/isdk/web-fetcher.js/blob/
|
|
85
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L45)
|
|
86
86
|
|
|
87
87
|
#### Inherited from
|
|
88
88
|
|
|
@@ -94,7 +94,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:45](https://github.
|
|
|
94
94
|
|
|
95
95
|
> `optional` **maxRetries**: `number`
|
|
96
96
|
|
|
97
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:58](https://github.com/isdk/web-fetcher.js/blob/
|
|
97
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:58](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L58)
|
|
98
98
|
|
|
99
99
|
#### Inherited from
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:58](https://github.
|
|
|
106
106
|
|
|
107
107
|
> `optional` **name**: `string`
|
|
108
108
|
|
|
109
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/
|
|
109
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L46)
|
|
110
110
|
|
|
111
111
|
#### Inherited from
|
|
112
112
|
|
|
@@ -118,7 +118,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:46](https://github.
|
|
|
118
118
|
|
|
119
119
|
> `optional` **params**: `any`
|
|
120
120
|
|
|
121
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
121
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L48)
|
|
122
122
|
|
|
123
123
|
#### Inherited from
|
|
124
124
|
|
|
@@ -130,7 +130,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:48](https://github.
|
|
|
130
130
|
|
|
131
131
|
> `optional` **storeAs**: `string`
|
|
132
132
|
|
|
133
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/
|
|
133
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L51)
|
|
134
134
|
|
|
135
135
|
#### Inherited from
|
|
136
136
|
|
|
@@ -142,7 +142,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:51](https://github.
|
|
|
142
142
|
|
|
143
143
|
> `optional` **timeoutMs**: `number`
|
|
144
144
|
|
|
145
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/
|
|
145
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:57](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L57)
|
|
146
146
|
|
|
147
147
|
#### Inherited from
|
|
148
148
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchActionResult\<R\>
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:36](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:36](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L36)
|
|
10
10
|
|
|
11
11
|
## Type Parameters
|
|
12
12
|
|
|
@@ -20,7 +20,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:36](https://github.
|
|
|
20
20
|
|
|
21
21
|
> `optional` **error**: `Error`
|
|
22
22
|
|
|
23
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:40](https://github.com/isdk/web-fetcher.js/blob/
|
|
23
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:40](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L40)
|
|
24
24
|
|
|
25
25
|
***
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:40](https://github.
|
|
|
28
28
|
|
|
29
29
|
> `optional` **meta**: `FetchActionMeta`
|
|
30
30
|
|
|
31
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:41](https://github.com/isdk/web-fetcher.js/blob/
|
|
31
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:41](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L41)
|
|
32
32
|
|
|
33
33
|
***
|
|
34
34
|
|
|
@@ -36,7 +36,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:41](https://github.
|
|
|
36
36
|
|
|
37
37
|
> `optional` **result**: [`FetchReturnTypeFor`](../type-aliases/FetchReturnTypeFor.md)\<`R`\>
|
|
38
38
|
|
|
39
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:39](https://github.com/isdk/web-fetcher.js/blob/
|
|
39
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:39](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L39)
|
|
40
40
|
|
|
41
41
|
***
|
|
42
42
|
|
|
@@ -44,7 +44,7 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:39](https://github.
|
|
|
44
44
|
|
|
45
45
|
> `optional` **returnType**: `R`
|
|
46
46
|
|
|
47
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:38](https://github.com/isdk/web-fetcher.js/blob/
|
|
47
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:38](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L38)
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
@@ -52,4 +52,4 @@ Defined in: [packages/web-fetcher/src/action/fetch-action.ts:38](https://github.
|
|
|
52
52
|
|
|
53
53
|
> **status**: [`FetchActionResultStatus`](../enumerations/FetchActionResultStatus.md)
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:37](https://github.com/isdk/web-fetcher.js/blob/
|
|
55
|
+
Defined in: [packages/web-fetcher/src/action/fetch-action.ts:37](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/action/fetch-action.ts#L37)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchContext
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:35](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:35](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L35)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:35](https://github.com/isd
|
|
|
18
18
|
|
|
19
19
|
> `optional` **antibot**: `boolean`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:68](https://github.com/isdk/web-fetcher.js/blob/
|
|
21
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:68](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L68)
|
|
22
22
|
|
|
23
23
|
#### Inherited from
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:68](https://github.com/isdk/
|
|
|
30
30
|
|
|
31
31
|
> `optional` **blockResources**: `string`[]
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
33
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:85](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L85)
|
|
34
34
|
|
|
35
35
|
#### Inherited from
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/
|
|
|
42
42
|
|
|
43
43
|
> `optional` **browser**: `object`
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
45
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:95](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L95)
|
|
46
46
|
|
|
47
47
|
#### engine?
|
|
48
48
|
|
|
@@ -71,7 +71,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:94](https://github.com/isdk/
|
|
|
71
71
|
|
|
72
72
|
> `optional` **cookies**: [`Cookie`](Cookie.md)[]
|
|
73
73
|
|
|
74
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
74
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L72)
|
|
75
75
|
|
|
76
76
|
#### Inherited from
|
|
77
77
|
|
|
@@ -83,7 +83,19 @@ Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/
|
|
|
83
83
|
|
|
84
84
|
> `optional` **currentAction**: [`FetchActionInContext`](FetchActionInContext.md)
|
|
85
85
|
|
|
86
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:36](https://github.com/isdk/web-fetcher.js/blob/
|
|
86
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:36](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L36)
|
|
87
|
+
|
|
88
|
+
***
|
|
89
|
+
|
|
90
|
+
### debug?
|
|
91
|
+
|
|
92
|
+
> `optional` **debug**: `boolean`
|
|
93
|
+
|
|
94
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:69](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L69)
|
|
95
|
+
|
|
96
|
+
#### Inherited from
|
|
97
|
+
|
|
98
|
+
[`FetchEngineContext`](FetchEngineContext.md).[`debug`](FetchEngineContext.md#debug)
|
|
87
99
|
|
|
88
100
|
***
|
|
89
101
|
|
|
@@ -91,7 +103,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:36](https://github.com/isd
|
|
|
91
103
|
|
|
92
104
|
> `optional` **delayBetweenRequestsMs**: `number`
|
|
93
105
|
|
|
94
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
106
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:116](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L116)
|
|
95
107
|
|
|
96
108
|
#### Inherited from
|
|
97
109
|
|
|
@@ -103,7 +115,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:115](https://github.com/isdk
|
|
|
103
115
|
|
|
104
116
|
> `optional` **enableSmart**: `boolean`
|
|
105
117
|
|
|
106
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:66](https://github.com/isdk/web-fetcher.js/blob/
|
|
118
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:66](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L66)
|
|
107
119
|
|
|
108
120
|
#### Inherited from
|
|
109
121
|
|
|
@@ -115,7 +127,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:66](https://github.com/isdk/
|
|
|
115
127
|
|
|
116
128
|
> `optional` **engine**: `string`
|
|
117
129
|
|
|
118
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:65](https://github.com/isdk/web-fetcher.js/blob/
|
|
130
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:65](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L65)
|
|
119
131
|
|
|
120
132
|
抓取模式
|
|
121
133
|
|
|
@@ -133,7 +145,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:65](https://github.com/isdk/
|
|
|
133
145
|
|
|
134
146
|
> **eventBus**: `EventEmitter`
|
|
135
147
|
|
|
136
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:48](https://github.com/isdk/web-fetcher.js/blob/
|
|
148
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:48](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L48)
|
|
137
149
|
|
|
138
150
|
***
|
|
139
151
|
|
|
@@ -141,7 +153,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:48](https://github.com/isd
|
|
|
141
153
|
|
|
142
154
|
> `optional` **finalUrl**: `string`
|
|
143
155
|
|
|
144
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:27](https://github.com/isdk/web-fetcher.js/blob/
|
|
156
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:27](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L27)
|
|
145
157
|
|
|
146
158
|
#### Inherited from
|
|
147
159
|
|
|
@@ -153,7 +165,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:27](https://github.com/isd
|
|
|
153
165
|
|
|
154
166
|
> `optional` **headers**: `Record`\<`string`, `string`\>
|
|
155
167
|
|
|
156
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
168
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L71)
|
|
157
169
|
|
|
158
170
|
#### Inherited from
|
|
159
171
|
|
|
@@ -165,7 +177,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:70](https://github.com/isdk/
|
|
|
165
177
|
|
|
166
178
|
> `optional` **http**: `object`
|
|
167
179
|
|
|
168
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
180
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:107](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L107)
|
|
169
181
|
|
|
170
182
|
#### body?
|
|
171
183
|
|
|
@@ -185,7 +197,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:106](https://github.com/isdk
|
|
|
185
197
|
|
|
186
198
|
> **id**: `string`
|
|
187
199
|
|
|
188
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:25](https://github.com/isdk/web-fetcher.js/blob/
|
|
200
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:25](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L25)
|
|
189
201
|
|
|
190
202
|
#### Inherited from
|
|
191
203
|
|
|
@@ -197,7 +209,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:25](https://github.com/isd
|
|
|
197
209
|
|
|
198
210
|
> `optional` **ignoreSslErrors**: `boolean`
|
|
199
211
|
|
|
200
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
212
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:93](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L93)
|
|
201
213
|
|
|
202
214
|
#### Inherited from
|
|
203
215
|
|
|
@@ -209,7 +221,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:92](https://github.com/isdk/
|
|
|
209
221
|
|
|
210
222
|
> **internal**: `FetchContextInteralState`
|
|
211
223
|
|
|
212
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:46](https://github.com/isdk/web-fetcher.js/blob/
|
|
224
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:46](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L46)
|
|
213
225
|
|
|
214
226
|
#### Overrides
|
|
215
227
|
|
|
@@ -221,7 +233,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:46](https://github.com/isd
|
|
|
221
233
|
|
|
222
234
|
> `optional` **lastResponse**: [`FetchResponse`](FetchResponse.md)
|
|
223
235
|
|
|
224
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:29](https://github.com/isdk/web-fetcher.js/blob/
|
|
236
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:29](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L29)
|
|
225
237
|
|
|
226
238
|
#### Inherited from
|
|
227
239
|
|
|
@@ -233,7 +245,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:29](https://github.com/isd
|
|
|
233
245
|
|
|
234
246
|
> `optional` **lastResult**: [`FetchActionResult`](FetchActionResult.md)\<[`FetchReturnType`](../type-aliases/FetchReturnType.md)\>
|
|
235
247
|
|
|
236
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:30](https://github.com/isdk/web-fetcher.js/blob/
|
|
248
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:30](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L30)
|
|
237
249
|
|
|
238
250
|
#### Inherited from
|
|
239
251
|
|
|
@@ -245,7 +257,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:30](https://github.com/isd
|
|
|
245
257
|
|
|
246
258
|
> `optional` **maxConcurrency**: `number`
|
|
247
259
|
|
|
248
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
260
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L114)
|
|
249
261
|
|
|
250
262
|
#### Inherited from
|
|
251
263
|
|
|
@@ -257,7 +269,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:113](https://github.com/isdk
|
|
|
257
269
|
|
|
258
270
|
> `optional` **maxRequestsPerMinute**: `number`
|
|
259
271
|
|
|
260
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
272
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:115](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L115)
|
|
261
273
|
|
|
262
274
|
#### Inherited from
|
|
263
275
|
|
|
@@ -269,7 +281,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk
|
|
|
269
281
|
|
|
270
282
|
> `optional` **output**: `object`
|
|
271
283
|
|
|
272
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
284
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L78)
|
|
273
285
|
|
|
274
286
|
#### cookies?
|
|
275
287
|
|
|
@@ -289,7 +301,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/
|
|
|
289
301
|
|
|
290
302
|
> **outputs**: `Record`\<`string`, `any`\>
|
|
291
303
|
|
|
292
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:38](https://github.com/isdk/web-fetcher.js/blob/
|
|
304
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:38](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L38)
|
|
293
305
|
|
|
294
306
|
***
|
|
295
307
|
|
|
@@ -297,7 +309,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:38](https://github.com/isd
|
|
|
297
309
|
|
|
298
310
|
> `optional` **overrideSessionState**: `boolean`
|
|
299
311
|
|
|
300
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
312
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L75)
|
|
301
313
|
|
|
302
314
|
#### Inherited from
|
|
303
315
|
|
|
@@ -309,7 +321,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/
|
|
|
309
321
|
|
|
310
322
|
> `optional` **proxy**: `string` \| `string`[]
|
|
311
323
|
|
|
312
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
324
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:83](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L83)
|
|
313
325
|
|
|
314
326
|
#### Inherited from
|
|
315
327
|
|
|
@@ -321,7 +333,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/
|
|
|
321
333
|
|
|
322
334
|
> `optional` **requestHandlerTimeoutSecs**: `number`
|
|
323
335
|
|
|
324
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
336
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:113](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L113)
|
|
325
337
|
|
|
326
338
|
#### Inherited from
|
|
327
339
|
|
|
@@ -333,7 +345,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:112](https://github.com/isdk
|
|
|
333
345
|
|
|
334
346
|
> `optional` **retries**: `number`
|
|
335
347
|
|
|
336
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
348
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:117](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L117)
|
|
337
349
|
|
|
338
350
|
#### Inherited from
|
|
339
351
|
|
|
@@ -345,7 +357,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:116](https://github.com/isdk
|
|
|
345
357
|
|
|
346
358
|
> `optional` **sessionPoolOptions**: `SessionPoolOptions`
|
|
347
359
|
|
|
348
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
360
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L74)
|
|
349
361
|
|
|
350
362
|
#### Inherited from
|
|
351
363
|
|
|
@@ -357,7 +369,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/
|
|
|
357
369
|
|
|
358
370
|
> `optional` **sessionState**: `any`
|
|
359
371
|
|
|
360
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
372
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L73)
|
|
361
373
|
|
|
362
374
|
#### Inherited from
|
|
363
375
|
|
|
@@ -369,7 +381,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/
|
|
|
369
381
|
|
|
370
382
|
> `optional` **sites**: [`FetchSite`](FetchSite.md)[]
|
|
371
383
|
|
|
372
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
384
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L119)
|
|
373
385
|
|
|
374
386
|
#### Inherited from
|
|
375
387
|
|
|
@@ -381,7 +393,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:118](https://github.com/isdk
|
|
|
381
393
|
|
|
382
394
|
> `optional` **storage**: [`StorageOptions`](StorageOptions.md)
|
|
383
395
|
|
|
384
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
396
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:90](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L90)
|
|
385
397
|
|
|
386
398
|
Storage configuration for session isolation and persistence.
|
|
387
399
|
|
|
@@ -395,7 +407,7 @@ Storage configuration for session isolation and persistence.
|
|
|
395
407
|
|
|
396
408
|
> `optional` **throwHttpErrors**: `boolean`
|
|
397
409
|
|
|
398
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
410
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:76](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L76)
|
|
399
411
|
|
|
400
412
|
#### Inherited from
|
|
401
413
|
|
|
@@ -407,7 +419,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/
|
|
|
407
419
|
|
|
408
420
|
> `optional` **timeoutMs**: `number`
|
|
409
421
|
|
|
410
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
422
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:112](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L112)
|
|
411
423
|
|
|
412
424
|
#### Inherited from
|
|
413
425
|
|
|
@@ -419,7 +431,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:111](https://github.com/isdk
|
|
|
419
431
|
|
|
420
432
|
> `optional` **url**: `string`
|
|
421
433
|
|
|
422
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:26](https://github.com/isdk/web-fetcher.js/blob/
|
|
434
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:26](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L26)
|
|
423
435
|
|
|
424
436
|
#### Inherited from
|
|
425
437
|
|
|
@@ -431,7 +443,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:26](https://github.com/isd
|
|
|
431
443
|
|
|
432
444
|
> `optional` **useSiteRegistry**: `boolean`
|
|
433
445
|
|
|
434
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:67](https://github.com/isdk/web-fetcher.js/blob/
|
|
446
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:67](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/types.ts#L67)
|
|
435
447
|
|
|
436
448
|
#### Inherited from
|
|
437
449
|
|
|
@@ -443,7 +455,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:67](https://github.com/isdk/
|
|
|
443
455
|
|
|
444
456
|
> **action**\<`R`\>(`name`, `params?`, `options?`): `Promise`\<[`FetchActionResult`](FetchActionResult.md)\<`R`\>\>
|
|
445
457
|
|
|
446
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:43](https://github.com/isdk/web-fetcher.js/blob/
|
|
458
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:43](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L43)
|
|
447
459
|
|
|
448
460
|
#### Type Parameters
|
|
449
461
|
|
|
@@ -475,7 +487,7 @@ Defined in: [packages/web-fetcher/src/core/context.ts:43](https://github.com/isd
|
|
|
475
487
|
|
|
476
488
|
> **execute**\<`R`\>(`actionOptions`): `Promise`\<[`FetchActionResult`](FetchActionResult.md)\<`R`\>\>
|
|
477
489
|
|
|
478
|
-
Defined in: [packages/web-fetcher/src/core/context.ts:41](https://github.com/isdk/web-fetcher.js/blob/
|
|
490
|
+
Defined in: [packages/web-fetcher/src/core/context.ts:41](https://github.com/isdk/web-fetcher.js/blob/1f3a81cc4fe8a2cf40fe3f3e8030d14a75c9d27c/src/core/context.ts#L41)
|
|
479
491
|
|
|
480
492
|
#### Type Parameters
|
|
481
493
|
|