@crawlee/playwright 4.0.0-beta.127 → 4.0.0-beta.129
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.
|
@@ -499,9 +499,9 @@ async function handleCloudflareChallenge(page, url, options = {}) {
|
|
|
499
499
|
};
|
|
500
500
|
options.isChallengeCallback ??= async () => {
|
|
501
501
|
return await page.evaluate(async () => {
|
|
502
|
-
// Cloudflare
|
|
503
|
-
//
|
|
504
|
-
return !!document.querySelector('.footer .footer-inner .
|
|
502
|
+
// Cloudflare keeps reshuffling the wrapper elements between `.footer-inner` and `.ray-id`,
|
|
503
|
+
// so only the stable outer classes are matched.
|
|
504
|
+
return !!document.querySelector('.footer .footer-inner .ray-id');
|
|
505
505
|
});
|
|
506
506
|
};
|
|
507
507
|
const retryBlocked = async () => {
|
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.129",
|
|
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.129",
|
|
53
|
+
"@crawlee/browser": "4.0.0-beta.129",
|
|
54
|
+
"@crawlee/browser-pool": "4.0.0-beta.129",
|
|
55
|
+
"@crawlee/cheerio": "4.0.0-beta.129",
|
|
56
|
+
"@crawlee/core": "4.0.0-beta.129",
|
|
57
|
+
"@crawlee/types": "4.0.0-beta.129",
|
|
58
|
+
"@crawlee/utils": "4.0.0-beta.129",
|
|
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": "b8a2e854bb8620679ca8e9f774fce4932c4e3b51"
|
|
88
88
|
}
|