@crawlee/http 4.0.0-beta.247 → 4.0.0-beta.248
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.
|
@@ -36,7 +36,7 @@ export interface HttpCrawlerOptions<Context extends InternalHttpCrawlingContext
|
|
|
36
36
|
* {@link BaseHttpClient} implementations should honor that flag (the built-in impit and got-scraping
|
|
37
37
|
* clients do; the native fetch fallback cannot disable TLS verification and warns instead).
|
|
38
38
|
*
|
|
39
|
-
* @default
|
|
39
|
+
* @default false
|
|
40
40
|
*/
|
|
41
41
|
ignoreTlsErrors?: boolean;
|
|
42
42
|
/**
|
|
@@ -124,7 +124,7 @@ export class HttpCrawler extends BasicCrawler {
|
|
|
124
124
|
static optionsShape = {
|
|
125
125
|
...BasicCrawler.optionsShape,
|
|
126
126
|
navigationTimeoutSecs: schemas.anyNumber.default(30),
|
|
127
|
-
ignoreTlsErrors: z.boolean().default(
|
|
127
|
+
ignoreTlsErrors: z.boolean().default(false),
|
|
128
128
|
additionalMimeTypes: schemas.arrayOf(z.string(), 'strings').default(() => []),
|
|
129
129
|
suggestResponseEncoding: z.string().optional(),
|
|
130
130
|
forceResponseEncoding: z.string().optional(),
|
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.248",
|
|
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.13.0"
|
|
@@ -48,10 +48,10 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/timeout": "^1.0.1",
|
|
51
|
-
"@crawlee/basic": "4.0.0-beta.
|
|
52
|
-
"@crawlee/http-client": "4.0.0-beta.
|
|
53
|
-
"@crawlee/types": "4.0.0-beta.
|
|
54
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
51
|
+
"@crawlee/basic": "4.0.0-beta.248",
|
|
52
|
+
"@crawlee/http-client": "4.0.0-beta.248",
|
|
53
|
+
"@crawlee/types": "4.0.0-beta.248",
|
|
54
|
+
"@crawlee/utils": "4.0.0-beta.248",
|
|
55
55
|
"cheerio": "^1.2.0",
|
|
56
56
|
"content-type": "^3.1.1",
|
|
57
57
|
"domhandler": "^6.0.1",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "12ed4b6472768ad105fbf647f9ed431b5be99cbc"
|
|
72
72
|
}
|