@crawlee/http 4.0.0-beta.110 → 4.0.0-beta.111
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.
|
@@ -2,7 +2,7 @@ import type { BasicCrawlerOptions, ConcurrencySystem, ConcurrencySystemOptions,
|
|
|
2
2
|
import { BasicCrawler, ContextPipeline } from '@crawlee/basic';
|
|
3
3
|
import { type LoadedRequest } from '@crawlee/core';
|
|
4
4
|
import type { Awaitable, Dictionary } from '@crawlee/types';
|
|
5
|
-
import { type CheerioRoot } from '@crawlee/utils';
|
|
5
|
+
import { type CheerioRoot } from '@crawlee/utils/internal';
|
|
6
6
|
import type { JsonValue } from 'type-fest';
|
|
7
7
|
/**
|
|
8
8
|
* A higher starting concurrency and a relaxed event loop signal, since HTTP-only crawling barely touches the event
|
|
@@ -3,7 +3,7 @@ import util from 'node:util';
|
|
|
3
3
|
import { BasicCrawler, ContextPipeline, NavigationSkippedError, remainingNavigationWindowMillis, RequestState, Router, SessionError, } from '@crawlee/basic';
|
|
4
4
|
import { getCookiesFromResponse } from '@crawlee/core';
|
|
5
5
|
import { ResponseWithUrl } from '@crawlee/http-client';
|
|
6
|
-
import { RETRY_CSS_SELECTORS } from '@crawlee/utils';
|
|
6
|
+
import { RETRY_CSS_SELECTORS } from '@crawlee/utils/internal';
|
|
7
7
|
import contentTypeParser from 'content-type';
|
|
8
8
|
import iconv from 'iconv-lite';
|
|
9
9
|
import ow from 'ow';
|
package/internals/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { extname } from 'node:path';
|
|
2
2
|
import { Readable } from 'node:stream';
|
|
3
|
-
import { applySearchParams } from '@crawlee/utils';
|
|
3
|
+
import { applySearchParams } from '@crawlee/utils/internal';
|
|
4
4
|
import contentTypeParser from 'content-type';
|
|
5
5
|
import mime from 'mime-types';
|
|
6
6
|
import ow, { ObjectPredicate } from 'ow';
|
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.111",
|
|
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.111",
|
|
53
|
+
"@crawlee/core": "4.0.0-beta.111",
|
|
54
|
+
"@crawlee/http-client": "4.0.0-beta.111",
|
|
55
|
+
"@crawlee/types": "4.0.0-beta.111",
|
|
56
|
+
"@crawlee/utils": "4.0.0-beta.111",
|
|
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": "a6b7dec651fa7d81c61689e0a3cd0a8d06fdb586"
|
|
74
74
|
}
|