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.
TypeScript apifyautomationcrawlercrawlingheadlessheadless-chromejavascriptnodejsnpmplaywrightpuppeteerscraperscrapingtypescriptweb-crawlerweb-crawlingweb-scraping
Fixed comments
Jan Curn02409dd0dcfb
diff --git a/src/puppeteer.js b/src/puppeteer.jsindex 18457d96b..a185bdb5d 100644--- a/src/puppeteer.js+++ b/src/puppeteer.js@@ -21,13 +21,13 @@ const LAUNCH_PUPPETEER_LOG_OMIT_OPTS = [* @property {String} [opts.userAgent] HTTP `User-Agent` header used by the browser.* If not provided, the function sets `User-Agent` to a reasonable default* to reduce the chance of detection of the crawler.- * @property {String} [opts.useChrome=false] If `true` and `opts.executablePath` is not set,+ * @property {Boolean} [opts.useChrome=false] If `true` and `opts.executablePath` is not set,* Puppeteer will launch full Google Chrome browser available on the machine* rather than the bundled Chromium. The path to Chrome executable* is taken from the `APIFY_CHROME_EXECUTABLE_PATH` environment variable if provided,* or defaults to the typical Google Chrome executable location specific for the operating system.* By default, this option is `false`.- * @property {String} [opts.useApifyProxy=false] If set to `true`, Puppeteer will be configured to use+ * @property {Boolean} [opts.useApifyProxy=false] If set to `true`, Puppeteer will be configured to use* <a href="https://my.apify.com/proxy" target="_blank">Apify Proxy</a> for all connections.* For more information, see the <a href="https://www.apify.com/docs/proxy">documentation</a>* @property {String[]} [opts.apifyProxyGroups] An array of proxy groups to be used