Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Removing outdated comment

Marek Trunkát35a12f4eb58c
diff --git a/src/puppeteer_pool.js b/src/puppeteer_pool.js
index 6f050322c..e36ee00a5 100644
--- a/src/puppeteer_pool.js
+++ b/src/puppeteer_pool.js
@@ -227,7 +227,6 @@ class PuppeteerPool {
}
const browser = await launchPuppeteerFunction(opts);
- // Maybe apply hiding tricks
if (!browser || typeof browser.newPage !== 'function') {
// eslint-disable-next-line max-len
throw new Error("The custom 'launchPuppeteerFunction' passed to PuppeteerPool must return a promise resolving to Puppeteer's Browser instance.");