@crawlee/puppeteer 4.0.0-beta.176 → 4.0.0-beta.178
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.
|
@@ -171,6 +171,7 @@ export async function parseWithCheerio(page, ignoreShadowRoots = false, ignoreIf
|
|
|
171
171
|
? null
|
|
172
172
|
: (await page.evaluate(`(${expandShadowRoots.toString()})(document)`));
|
|
173
173
|
const pageContent = html || (await page.content());
|
|
174
|
+
// Full cheerio (parse5) import for browser compliant parser
|
|
174
175
|
const { load } = await import('cheerio');
|
|
175
176
|
return load(pageContent);
|
|
176
177
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crawlee/puppeteer",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.178",
|
|
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"
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@apify/datastructures": "^3.0.1",
|
|
51
|
-
"@crawlee/browser": "4.0.0-beta.
|
|
52
|
-
"@crawlee/browser-pool": "4.0.0-beta.
|
|
53
|
-
"@crawlee/core": "4.0.0-beta.
|
|
54
|
-
"@crawlee/types": "4.0.0-beta.
|
|
55
|
-
"@crawlee/utils": "4.0.0-beta.
|
|
51
|
+
"@crawlee/browser": "4.0.0-beta.178",
|
|
52
|
+
"@crawlee/browser-pool": "4.0.0-beta.178",
|
|
53
|
+
"@crawlee/core": "4.0.0-beta.178",
|
|
54
|
+
"@crawlee/types": "4.0.0-beta.178",
|
|
55
|
+
"@crawlee/utils": "4.0.0-beta.178",
|
|
56
56
|
"cheerio": "^1.0.0",
|
|
57
57
|
"devtools-protocol": "*",
|
|
58
58
|
"jquery": "^3.7.1",
|
|
@@ -74,5 +74,5 @@
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
},
|
|
77
|
-
"gitHead": "
|
|
77
|
+
"gitHead": "7beea593ac56d23b678466bc28390d527dbc3d8b"
|
|
78
78
|
}
|