@crawlee/http 4.0.0-beta.140 → 4.0.0-beta.142
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/internals/http-crawler.d.ts +11 -11
- package/package.json +7 -7
|
@@ -253,14 +253,6 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
|
|
|
253
253
|
* @internal
|
|
254
254
|
*/
|
|
255
255
|
protected static optionsShape: {
|
|
256
|
-
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
257
|
-
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
258
|
-
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
259
|
-
suggestResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
260
|
-
forceResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
261
|
-
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
262
|
-
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
263
|
-
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
264
256
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
265
257
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
266
258
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -306,9 +298,6 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
|
|
|
306
298
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
307
299
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
308
300
|
id: z.ZodOptional<z.ZodString>;
|
|
309
|
-
};
|
|
310
|
-
/** @internal */
|
|
311
|
-
protected static optionsSchema: z.ZodObject<{
|
|
312
301
|
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
313
302
|
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
314
303
|
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
@@ -317,6 +306,9 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
|
|
|
317
306
|
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
318
307
|
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
319
308
|
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
309
|
+
};
|
|
310
|
+
/** @internal */
|
|
311
|
+
protected static optionsSchema: z.ZodObject<{
|
|
320
312
|
contextPipelineBuilder: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
321
313
|
extendContext: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
|
|
322
314
|
requestList: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
|
|
@@ -362,6 +354,14 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
|
|
|
362
354
|
keepAlive: z.ZodOptional<z.ZodBoolean>;
|
|
363
355
|
statistics: z.ZodOptional<z.ZodCustom<Dictionary, Dictionary>>;
|
|
364
356
|
id: z.ZodOptional<z.ZodString>;
|
|
357
|
+
navigationTimeoutSecs: z.ZodDefault<z.ZodCustom<number, number>>;
|
|
358
|
+
ignoreTlsErrors: z.ZodDefault<z.ZodBoolean>;
|
|
359
|
+
additionalMimeTypes: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
360
|
+
suggestResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
361
|
+
forceResponseEncoding: z.ZodOptional<z.ZodString>;
|
|
362
|
+
saveResponseCookies: z.ZodDefault<z.ZodBoolean>;
|
|
363
|
+
preNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
364
|
+
postNavigationHooks: z.ZodDefault<z.ZodCustom<unknown[], unknown[]>>;
|
|
365
365
|
}, z.core.$strict>;
|
|
366
366
|
/**
|
|
367
367
|
* All `HttpCrawlerOptions` parameters are passed via an options object.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/http",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.142",
|
|
4
4
|
"description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=22.0.0"
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/timeout": "^0.4.4",
|
|
51
51
|
"@apify/utilities": "^2.15.5",
|
|
52
|
-
"@crawlee/basic": "4.0.0-beta.
|
|
53
|
-
"@crawlee/core": "4.0.0-beta.
|
|
54
|
-
"@crawlee/http-client": "4.0.0-beta.
|
|
55
|
-
"@crawlee/types": "4.0.0-beta.
|
|
56
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
52
|
+
"@crawlee/basic": "4.0.0-beta.142",
|
|
53
|
+
"@crawlee/core": "4.0.0-beta.142",
|
|
54
|
+
"@crawlee/http-client": "4.0.0-beta.142",
|
|
55
|
+
"@crawlee/types": "4.0.0-beta.142",
|
|
56
|
+
"@crawlee/utils": "4.0.0-beta.142",
|
|
57
57
|
"@types/content-type": "^1.1.8",
|
|
58
58
|
"cheerio": "^1.0.0",
|
|
59
59
|
"content-type": "^1.0.5",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "d40a48fcb78865bd622a05027103155ac08a227f"
|
|
74
74
|
}
|