@crawlee/playwright 4.0.0-beta.110 → 4.0.0-beta.112
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.
|
@@ -4,7 +4,7 @@ import { BasicCrawler } from '@crawlee/basic';
|
|
|
4
4
|
import type { ContextPipeline, CrawlingContext, EnqueueLinksOptions, GetUserDataFromRequest, RouterRoutes, StatisticsOptions, StatisticState, StorageTransactionView } from '@crawlee/core';
|
|
5
5
|
import { Statistics } from '@crawlee/core';
|
|
6
6
|
import type { Dictionary, Awaitable } from '@crawlee/types';
|
|
7
|
-
import { type CheerioRoot } from '@crawlee/utils';
|
|
7
|
+
import { type CheerioRoot } from '@crawlee/utils/internal';
|
|
8
8
|
import { type Cheerio } from 'cheerio';
|
|
9
9
|
import type { AnyNode } from 'domhandler';
|
|
10
10
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
@@ -3,7 +3,7 @@ import { BasicCrawler } from '@crawlee/basic';
|
|
|
3
3
|
import { extractUrlsFromPage } from '@crawlee/browser';
|
|
4
4
|
import { CheerioCrawler } from '@crawlee/cheerio';
|
|
5
5
|
import { createStorageTransaction, OwnedOrInjected, RequestHandlerError, resolveBaseUrlForEnqueueLinksFiltering, Router, Statistics, } from '@crawlee/core';
|
|
6
|
-
import { extractUrlsFromCheerio } from '@crawlee/utils';
|
|
6
|
+
import { extractUrlsFromCheerio } from '@crawlee/utils/internal';
|
|
7
7
|
import ow from 'ow';
|
|
8
8
|
import { addTimeoutToPromise } from '@apify/timeout';
|
|
9
9
|
import { PlaywrightCrawler } from './playwright-crawler.js';
|
|
@@ -179,6 +179,8 @@ export declare class PlaywrightCrawler<ContextExtension = Dictionary<never>, Ext
|
|
|
179
179
|
requestList: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
180
180
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
181
181
|
requestQueue: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
182
|
+
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
183
|
+
requestManager: import("ow").ObjectPredicate<object> & import("ow").BasePredicate<object | undefined>;
|
|
182
184
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
183
185
|
requestHandler: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
|
|
184
186
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
import { Configuration, type Request } from '@crawlee/browser';
|
|
21
21
|
import type { BatchAddRequestsResult, Dictionary } from '@crawlee/types';
|
|
22
|
-
import { type CheerioRoot } from '@crawlee/utils';
|
|
22
|
+
import { type CheerioRoot } from '@crawlee/utils/internal';
|
|
23
23
|
// @ts-ignore optional peer dependency or compatibility with es2022
|
|
24
24
|
import type { Download, Page, Response } from 'playwright';
|
|
25
25
|
import type { EnqueueLinksByClickingElementsOptions } from '../enqueue-links/click-elements.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/playwright",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.112",
|
|
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,13 +49,13 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/datastructures": "^2.0.3",
|
|
51
51
|
"@apify/timeout": "^0.4.4",
|
|
52
|
-
"@crawlee/basic": "4.0.0-beta.
|
|
53
|
-
"@crawlee/browser": "4.0.0-beta.
|
|
54
|
-
"@crawlee/browser-pool": "4.0.0-beta.
|
|
55
|
-
"@crawlee/cheerio": "4.0.0-beta.
|
|
56
|
-
"@crawlee/core": "4.0.0-beta.
|
|
57
|
-
"@crawlee/types": "4.0.0-beta.
|
|
58
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
52
|
+
"@crawlee/basic": "4.0.0-beta.112",
|
|
53
|
+
"@crawlee/browser": "4.0.0-beta.112",
|
|
54
|
+
"@crawlee/browser-pool": "4.0.0-beta.112",
|
|
55
|
+
"@crawlee/cheerio": "4.0.0-beta.112",
|
|
56
|
+
"@crawlee/core": "4.0.0-beta.112",
|
|
57
|
+
"@crawlee/types": "4.0.0-beta.112",
|
|
58
|
+
"@crawlee/utils": "4.0.0-beta.112",
|
|
59
59
|
"cheerio": "^1.0.0",
|
|
60
60
|
"jquery": "^3.7.1",
|
|
61
61
|
"ml-logistic-regression": "^2.0.0",
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
-
"gitHead": "
|
|
87
|
+
"gitHead": "5d1e107d4dc4ffd21f1c6cc5b1a1c10b59ca2b47"
|
|
88
88
|
}
|