@crawlee/puppeteer 4.0.0-beta.184 → 4.0.0-beta.185
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.
|
@@ -110,7 +110,7 @@ export class PuppeteerCrawler extends BrowserCrawler {
|
|
|
110
110
|
});
|
|
111
111
|
}
|
|
112
112
|
buildContextPipeline() {
|
|
113
|
-
return super.buildContextPipeline().compose(
|
|
113
|
+
return super.buildContextPipeline().compose(this.enhanceContext.bind(this));
|
|
114
114
|
}
|
|
115
115
|
async enhanceContext(context) {
|
|
116
116
|
const waitForSelector = async (selector, timeoutMs = 5_000) => {
|
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.185",
|
|
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.185",
|
|
52
|
+
"@crawlee/browser-pool": "4.0.0-beta.185",
|
|
53
|
+
"@crawlee/core": "4.0.0-beta.185",
|
|
54
|
+
"@crawlee/types": "4.0.0-beta.185",
|
|
55
|
+
"@crawlee/utils": "4.0.0-beta.185",
|
|
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": "642c670956a5a60384d5ed5e67ee809927cc419b"
|
|
78
78
|
}
|