@isdk/web-fetcher 0.3.0 → 0.3.1
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 +53 -312
- package/README.action.extract.cn.md +263 -0
- package/README.action.extract.md +263 -0
- package/README.action.md +53 -311
- package/README.cn.md +10 -2
- package/README.engine.cn.md +22 -1
- package/README.engine.md +22 -1
- package/README.md +8 -1
- package/dist/index.d.mts +147 -1
- package/dist/index.d.ts +147 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/docs/README.md +8 -1
- package/docs/_media/README.action.md +53 -311
- package/docs/_media/README.cn.md +10 -2
- package/docs/_media/README.engine.md +22 -1
- package/docs/classes/CheerioFetchEngine.md +236 -88
- 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 +27 -23
- package/docs/classes/FetchEngine.md +218 -86
- 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 +533 -0
- package/docs/classes/KeyboardTypeAction.md +533 -0
- package/docs/classes/MouseClickAction.md +533 -0
- package/docs/classes/MouseMoveAction.md +533 -0
- package/docs/classes/PauseAction.md +23 -23
- package/docs/classes/PlaywrightFetchEngine.md +337 -87
- 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/globals.md +8 -0
- package/docs/interfaces/BaseFetchActionProperties.md +12 -12
- package/docs/interfaces/BaseFetchCollectorActionProperties.md +16 -16
- package/docs/interfaces/BaseFetcherProperties.md +31 -27
- package/docs/interfaces/Cookie.md +14 -14
- 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 +41 -37
- package/docs/interfaces/FetchEngineContext.md +36 -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 +34 -30
- package/docs/interfaces/FetcherOptions.md +33 -29
- package/docs/interfaces/GotoActionOptions.md +14 -6
- package/docs/interfaces/KeyboardPressParams.md +25 -0
- package/docs/interfaces/KeyboardTypeParams.md +25 -0
- package/docs/interfaces/MouseClickParams.md +49 -0
- package/docs/interfaces/MouseMoveParams.md +41 -0
- package/docs/interfaces/PendingEngineRequest.md +3 -3
- 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 +10 -10
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchMetadata
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:150](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L150)
|
|
10
10
|
|
|
11
11
|
## Indexable
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:149](https://github.com/isdk
|
|
|
18
18
|
|
|
19
19
|
> `optional` **engine**: [`BrowserEngine`](../type-aliases/BrowserEngine.md)
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
21
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:152](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L152)
|
|
22
22
|
|
|
23
23
|
***
|
|
24
24
|
|
|
@@ -26,7 +26,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:151](https://github.com/isdk
|
|
|
26
26
|
|
|
27
27
|
> **mode**: [`FetchEngineType`](../type-aliases/FetchEngineType.md)
|
|
28
28
|
|
|
29
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
29
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:151](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L151)
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:150](https://github.com/isdk
|
|
|
34
34
|
|
|
35
35
|
> `optional` **proxy**: `string`
|
|
36
36
|
|
|
37
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
37
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:162](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L162)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:161](https://github.com/isdk
|
|
|
42
42
|
|
|
43
43
|
> `optional` **timings**: `object`
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
45
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:153](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L153)
|
|
46
46
|
|
|
47
47
|
#### dns?
|
|
48
48
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchResponse
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:167](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L167)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:166](https://github.com/isdk
|
|
|
14
14
|
|
|
15
15
|
> `optional` **body**: `string` \| `Buffer`\<`ArrayBufferLike`\>
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
17
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:174](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L174)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:173](https://github.com/isdk
|
|
|
22
22
|
|
|
23
23
|
> `optional` **contentType**: `string`
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
25
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:173](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L173)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:172](https://github.com/isdk
|
|
|
30
30
|
|
|
31
31
|
> `optional` **cookies**: [`Cookie`](Cookie.md)[]
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
33
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:178](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L178)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:177](https://github.com/isdk
|
|
|
38
38
|
|
|
39
39
|
> **finalUrl**: `string`
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
41
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:169](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L169)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:168](https://github.com/isdk
|
|
|
46
46
|
|
|
47
47
|
> **headers**: `Record`\<`string`, `string`\>
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
49
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:172](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L172)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -54,7 +54,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:171](https://github.com/isdk
|
|
|
54
54
|
|
|
55
55
|
> `optional` **html**: `string`
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
57
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:175](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L175)
|
|
58
58
|
|
|
59
59
|
***
|
|
60
60
|
|
|
@@ -62,7 +62,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:174](https://github.com/isdk
|
|
|
62
62
|
|
|
63
63
|
> `optional` **json**: `any`
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
65
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:177](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L177)
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
@@ -70,7 +70,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:176](https://github.com/isdk
|
|
|
70
70
|
|
|
71
71
|
> `optional` **metadata**: [`FetchMetadata`](FetchMetadata.md)
|
|
72
72
|
|
|
73
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
73
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:180](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L180)
|
|
74
74
|
|
|
75
75
|
***
|
|
76
76
|
|
|
@@ -78,7 +78,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:179](https://github.com/isdk
|
|
|
78
78
|
|
|
79
79
|
> `optional` **sessionState**: `any`
|
|
80
80
|
|
|
81
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
81
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:179](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L179)
|
|
82
82
|
|
|
83
83
|
***
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:178](https://github.com/isdk
|
|
|
86
86
|
|
|
87
87
|
> `optional` **statusCode**: `number`
|
|
88
88
|
|
|
89
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
89
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:170](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L170)
|
|
90
90
|
|
|
91
91
|
***
|
|
92
92
|
|
|
@@ -94,7 +94,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:169](https://github.com/isdk
|
|
|
94
94
|
|
|
95
95
|
> `optional` **statusText**: `string`
|
|
96
96
|
|
|
97
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
97
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:171](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L171)
|
|
98
98
|
|
|
99
99
|
***
|
|
100
100
|
|
|
@@ -102,7 +102,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:170](https://github.com/isdk
|
|
|
102
102
|
|
|
103
103
|
> `optional` **text**: `string`
|
|
104
104
|
|
|
105
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
105
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:176](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L176)
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
@@ -110,4 +110,4 @@ Defined in: [packages/web-fetcher/src/core/types.ts:175](https://github.com/isdk
|
|
|
110
110
|
|
|
111
111
|
> **url**: `string`
|
|
112
112
|
|
|
113
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
113
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:168](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L168)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchReturnTypeRegistry
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:12](https://github.com/isdk/web-fetcher.js/blob/
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:12](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L12)
|
|
10
10
|
|
|
11
11
|
## Properties
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:12](https://gith
|
|
|
14
14
|
|
|
15
15
|
> **any**: `any`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:17](https://github.com/isdk/web-fetcher.js/blob/
|
|
17
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:17](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L17)
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
@@ -22,7 +22,7 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:17](https://gith
|
|
|
22
22
|
|
|
23
23
|
> **context**: [`FetchContext`](FetchContext.md)
|
|
24
24
|
|
|
25
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:14](https://github.com/isdk/web-fetcher.js/blob/
|
|
25
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:14](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L14)
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:14](https://gith
|
|
|
30
30
|
|
|
31
31
|
> **none**: `void`
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:18](https://github.com/isdk/web-fetcher.js/blob/
|
|
33
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:18](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L18)
|
|
34
34
|
|
|
35
35
|
***
|
|
36
36
|
|
|
@@ -38,7 +38,7 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:18](https://gith
|
|
|
38
38
|
|
|
39
39
|
> **outputs**: `Record`\<`string`, `any`\>
|
|
40
40
|
|
|
41
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:16](https://github.com/isdk/web-fetcher.js/blob/
|
|
41
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:16](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L16)
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
@@ -46,7 +46,7 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:16](https://gith
|
|
|
46
46
|
|
|
47
47
|
> **response**: [`FetchResponse`](FetchResponse.md)
|
|
48
48
|
|
|
49
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:13](https://github.com/isdk/web-fetcher.js/blob/
|
|
49
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:13](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L13)
|
|
50
50
|
|
|
51
51
|
***
|
|
52
52
|
|
|
@@ -54,4 +54,4 @@ Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:13](https://gith
|
|
|
54
54
|
|
|
55
55
|
> **result**: [`FetchActionResult`](FetchActionResult.md)\<`any`\> \| `undefined`
|
|
56
56
|
|
|
57
|
-
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:15](https://github.com/isdk/web-fetcher.js/blob/
|
|
57
|
+
Defined in: [packages/web-fetcher/src/core/fetch-return-type.ts:15](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/fetch-return-type.ts#L15)
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Interface: FetchSite
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
9
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:130](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L130)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:129](https://github.com/isdk
|
|
|
18
18
|
|
|
19
19
|
> `optional` **antibot**: `boolean`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/web-fetcher.js/blob/
|
|
21
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L74)
|
|
22
22
|
|
|
23
23
|
#### Inherited from
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:74](https://github.com/isdk/
|
|
|
30
30
|
|
|
31
31
|
> `optional` **blockResources**: `string`[]
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/web-fetcher.js/blob/
|
|
33
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L91)
|
|
34
34
|
|
|
35
35
|
#### Inherited from
|
|
36
36
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:91](https://github.com/isdk/
|
|
|
42
42
|
|
|
43
43
|
> `optional` **browser**: `object`
|
|
44
44
|
|
|
45
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk/web-fetcher.js/blob/
|
|
45
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L101)
|
|
46
46
|
|
|
47
47
|
#### engine?
|
|
48
48
|
|
|
@@ -57,6 +57,10 @@ Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk
|
|
|
57
57
|
|
|
58
58
|
> `optional` **headless**: `boolean`
|
|
59
59
|
|
|
60
|
+
#### launchOptions?
|
|
61
|
+
|
|
62
|
+
> `optional` **launchOptions**: `Record`\<`string`, `any`\>
|
|
63
|
+
|
|
60
64
|
#### waitUntil?
|
|
61
65
|
|
|
62
66
|
> `optional` **waitUntil**: `"load"` \| `"domcontentloaded"` \| `"networkidle"` \| `"commit"`
|
|
@@ -71,7 +75,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:101](https://github.com/isdk
|
|
|
71
75
|
|
|
72
76
|
> `optional` **cookies**: [`Cookie`](Cookie.md)[]
|
|
73
77
|
|
|
74
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/web-fetcher.js/blob/
|
|
78
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L78)
|
|
75
79
|
|
|
76
80
|
#### Inherited from
|
|
77
81
|
|
|
@@ -83,7 +87,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:78](https://github.com/isdk/
|
|
|
83
87
|
|
|
84
88
|
> `optional` **debug**: `string` \| `boolean` \| `string`[]
|
|
85
89
|
|
|
86
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/web-fetcher.js/blob/
|
|
90
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L75)
|
|
87
91
|
|
|
88
92
|
#### Inherited from
|
|
89
93
|
|
|
@@ -95,7 +99,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:75](https://github.com/isdk/
|
|
|
95
99
|
|
|
96
100
|
> `optional` **delayBetweenRequestsMs**: `number`
|
|
97
101
|
|
|
98
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
102
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:123](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L123)
|
|
99
103
|
|
|
100
104
|
#### Inherited from
|
|
101
105
|
|
|
@@ -107,7 +111,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:122](https://github.com/isdk
|
|
|
107
111
|
|
|
108
112
|
> **domain**: `string`
|
|
109
113
|
|
|
110
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
114
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:131](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L131)
|
|
111
115
|
|
|
112
116
|
***
|
|
113
117
|
|
|
@@ -115,7 +119,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:130](https://github.com/isdk
|
|
|
115
119
|
|
|
116
120
|
> `optional` **enableSmart**: `boolean`
|
|
117
121
|
|
|
118
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/web-fetcher.js/blob/
|
|
122
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L72)
|
|
119
123
|
|
|
120
124
|
#### Inherited from
|
|
121
125
|
|
|
@@ -127,7 +131,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:72](https://github.com/isdk/
|
|
|
127
131
|
|
|
128
132
|
> `optional` **engine**: `string`
|
|
129
133
|
|
|
130
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/web-fetcher.js/blob/
|
|
134
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L71)
|
|
131
135
|
|
|
132
136
|
抓取模式
|
|
133
137
|
|
|
@@ -145,7 +149,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:71](https://github.com/isdk/
|
|
|
145
149
|
|
|
146
150
|
> `optional` **headers**: `Record`\<`string`, `string`\>
|
|
147
151
|
|
|
148
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/web-fetcher.js/blob/
|
|
152
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L77)
|
|
149
153
|
|
|
150
154
|
#### Inherited from
|
|
151
155
|
|
|
@@ -157,7 +161,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:77](https://github.com/isdk/
|
|
|
157
161
|
|
|
158
162
|
> `optional` **http**: `object`
|
|
159
163
|
|
|
160
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
164
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:114](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L114)
|
|
161
165
|
|
|
162
166
|
#### body?
|
|
163
167
|
|
|
@@ -177,7 +181,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:113](https://github.com/isdk
|
|
|
177
181
|
|
|
178
182
|
> `optional` **ignoreSslErrors**: `boolean`
|
|
179
183
|
|
|
180
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/web-fetcher.js/blob/
|
|
184
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L99)
|
|
181
185
|
|
|
182
186
|
#### Inherited from
|
|
183
187
|
|
|
@@ -189,7 +193,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:99](https://github.com/isdk/
|
|
|
189
193
|
|
|
190
194
|
> `optional` **maxConcurrency**: `number`
|
|
191
195
|
|
|
192
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
196
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:121](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L121)
|
|
193
197
|
|
|
194
198
|
#### Inherited from
|
|
195
199
|
|
|
@@ -201,7 +205,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:120](https://github.com/isdk
|
|
|
201
205
|
|
|
202
206
|
> `optional` **maxRequestsPerMinute**: `number`
|
|
203
207
|
|
|
204
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
208
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:122](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L122)
|
|
205
209
|
|
|
206
210
|
#### Inherited from
|
|
207
211
|
|
|
@@ -213,7 +217,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:121](https://github.com/isdk
|
|
|
213
217
|
|
|
214
218
|
> `optional` **meta**: `object`
|
|
215
219
|
|
|
216
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
220
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:134](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L134)
|
|
217
221
|
|
|
218
222
|
#### source?
|
|
219
223
|
|
|
@@ -233,7 +237,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:133](https://github.com/isdk
|
|
|
233
237
|
|
|
234
238
|
> `optional` **output**: `object`
|
|
235
239
|
|
|
236
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/web-fetcher.js/blob/
|
|
240
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L84)
|
|
237
241
|
|
|
238
242
|
#### cookies?
|
|
239
243
|
|
|
@@ -253,7 +257,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:84](https://github.com/isdk/
|
|
|
253
257
|
|
|
254
258
|
> `optional` **overrideSessionState**: `boolean`
|
|
255
259
|
|
|
256
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/web-fetcher.js/blob/
|
|
260
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L81)
|
|
257
261
|
|
|
258
262
|
#### Inherited from
|
|
259
263
|
|
|
@@ -265,7 +269,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:81](https://github.com/isdk/
|
|
|
265
269
|
|
|
266
270
|
> `optional` **pathScope**: `string`[]
|
|
267
271
|
|
|
268
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
272
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:132](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L132)
|
|
269
273
|
|
|
270
274
|
***
|
|
271
275
|
|
|
@@ -273,7 +277,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:131](https://github.com/isdk
|
|
|
273
277
|
|
|
274
278
|
> `optional` **proxy**: `string` \| `string`[]
|
|
275
279
|
|
|
276
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/web-fetcher.js/blob/
|
|
280
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L89)
|
|
277
281
|
|
|
278
282
|
#### Inherited from
|
|
279
283
|
|
|
@@ -285,7 +289,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:89](https://github.com/isdk/
|
|
|
285
289
|
|
|
286
290
|
> `optional` **requestHandlerTimeoutSecs**: `number`
|
|
287
291
|
|
|
288
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
292
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:120](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L120)
|
|
289
293
|
|
|
290
294
|
#### Inherited from
|
|
291
295
|
|
|
@@ -297,7 +301,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk
|
|
|
297
301
|
|
|
298
302
|
> `optional` **retries**: `number`
|
|
299
303
|
|
|
300
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
304
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:124](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L124)
|
|
301
305
|
|
|
302
306
|
#### Inherited from
|
|
303
307
|
|
|
@@ -309,7 +313,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:123](https://github.com/isdk
|
|
|
309
313
|
|
|
310
314
|
> `optional` **sessionPoolOptions**: `SessionPoolOptions`
|
|
311
315
|
|
|
312
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/web-fetcher.js/blob/
|
|
316
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L80)
|
|
313
317
|
|
|
314
318
|
#### Inherited from
|
|
315
319
|
|
|
@@ -321,7 +325,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:80](https://github.com/isdk/
|
|
|
321
325
|
|
|
322
326
|
> `optional` **sessionState**: `any`
|
|
323
327
|
|
|
324
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/web-fetcher.js/blob/
|
|
328
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L79)
|
|
325
329
|
|
|
326
330
|
#### Inherited from
|
|
327
331
|
|
|
@@ -333,7 +337,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:79](https://github.com/isdk/
|
|
|
333
337
|
|
|
334
338
|
> `optional` **sites**: `FetchSite`[]
|
|
335
339
|
|
|
336
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
340
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:126](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L126)
|
|
337
341
|
|
|
338
342
|
#### Inherited from
|
|
339
343
|
|
|
@@ -345,7 +349,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:125](https://github.com/isdk
|
|
|
345
349
|
|
|
346
350
|
> `optional` **storage**: [`StorageOptions`](StorageOptions.md)
|
|
347
351
|
|
|
348
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:96](https://github.com/isdk/web-fetcher.js/blob/
|
|
352
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:96](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L96)
|
|
349
353
|
|
|
350
354
|
Storage configuration for session isolation and persistence.
|
|
351
355
|
|
|
@@ -359,7 +363,7 @@ Storage configuration for session isolation and persistence.
|
|
|
359
363
|
|
|
360
364
|
> `optional` **throwHttpErrors**: `boolean`
|
|
361
365
|
|
|
362
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/web-fetcher.js/blob/
|
|
366
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L82)
|
|
363
367
|
|
|
364
368
|
#### Inherited from
|
|
365
369
|
|
|
@@ -371,7 +375,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:82](https://github.com/isdk/
|
|
|
371
375
|
|
|
372
376
|
> `optional` **timeoutMs**: `number`
|
|
373
377
|
|
|
374
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
378
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:119](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L119)
|
|
375
379
|
|
|
376
380
|
#### Inherited from
|
|
377
381
|
|
|
@@ -383,7 +387,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:118](https://github.com/isdk
|
|
|
383
387
|
|
|
384
388
|
> `optional` **url**: `string`
|
|
385
389
|
|
|
386
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:
|
|
390
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:127](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L127)
|
|
387
391
|
|
|
388
392
|
#### Inherited from
|
|
389
393
|
|
|
@@ -395,7 +399,7 @@ Defined in: [packages/web-fetcher/src/core/types.ts:126](https://github.com/isdk
|
|
|
395
399
|
|
|
396
400
|
> `optional` **useSiteRegistry**: `boolean`
|
|
397
401
|
|
|
398
|
-
Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/web-fetcher.js/blob/
|
|
402
|
+
Defined in: [packages/web-fetcher/src/core/types.ts:73](https://github.com/isdk/web-fetcher.js/blob/e691a2370f59d15979b47994c8ca14d7b7d2edd3/src/core/types.ts#L73)
|
|
399
403
|
|
|
400
404
|
#### Inherited from
|
|
401
405
|
|