@crawlee/playwright 4.0.0-beta.175 → 4.0.0-beta.177
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.
|
@@ -405,6 +405,7 @@ export async function parseWithCheerio(page, ignoreShadowRoots = false, ignoreIf
|
|
|
405
405
|
? null
|
|
406
406
|
: (await page.evaluate(`(${expandShadowRoots.toString()})(document)`));
|
|
407
407
|
const pageContent = html || (await page.content());
|
|
408
|
+
// Full cheerio (parse5) import for browser compliant parser
|
|
408
409
|
const { load } = await import('cheerio');
|
|
409
410
|
const $ = load(pageContent);
|
|
410
411
|
if (page.frames().length > 1 && !ignoreIframes) {
|
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.177",
|
|
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": "^3.0.1",
|
|
51
51
|
"@apify/timeout": "^1.0.1",
|
|
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.177",
|
|
53
|
+
"@crawlee/browser": "4.0.0-beta.177",
|
|
54
|
+
"@crawlee/browser-pool": "4.0.0-beta.177",
|
|
55
|
+
"@crawlee/cheerio": "4.0.0-beta.177",
|
|
56
|
+
"@crawlee/core": "4.0.0-beta.177",
|
|
57
|
+
"@crawlee/types": "4.0.0-beta.177",
|
|
58
|
+
"@crawlee/utils": "4.0.0-beta.177",
|
|
59
59
|
"cheerio": "^1.0.0",
|
|
60
60
|
"jquery": "^3.7.1",
|
|
61
61
|
"ml-logistic-regression": "^2.0.0",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "bfd191ba71902fc682dd21fb9ab17590037a60d5"
|
|
84
84
|
}
|