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
docs: fix gif leaking desktop, being too compressed, and showing a random `;` (#1625)
Vlad Frangua6d80860b172
diff --git a/docs/introduction/01-setting-up.mdx b/docs/introduction/01-setting-up.mdxindex 01e17f700..a69852298 100644--- a/docs/introduction/01-setting-up.mdx+++ b/docs/introduction/01-setting-up.mdx@@ -82,10 +82,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Next lessondiff --git a/docs/quick-start/index.mdx b/docs/quick-start/index.mdxindex 3a9b7ee96..869e06b47 100644--- a/docs/quick-start/index.mdx+++ b/docs/quick-start/index.mdx@@ -138,10 +138,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Resultsdiff --git a/website/static/img/chrome-scrape-dark-compressed.gif b/website/static/img/chrome-scrape-dark-compressed.gifdeleted file mode 100644index aaf6c16fd..000000000Binary files a/website/static/img/chrome-scrape-dark-compressed.gif and /dev/null differdiff --git a/website/static/img/chrome-scrape-dark.gif b/website/static/img/chrome-scrape-dark.gifnew file mode 100644index 000000000..b285e4623Binary files /dev/null and b/website/static/img/chrome-scrape-dark.gif differdiff --git a/website/static/img/chrome-scrape-light-compressed.gif b/website/static/img/chrome-scrape-light-compressed.gifdeleted file mode 100644index e6fd44858..000000000Binary files a/website/static/img/chrome-scrape-light-compressed.gif and /dev/null differdiff --git a/website/static/img/chrome-scrape-light.gif b/website/static/img/chrome-scrape-light.gifnew file mode 100644index 000000000..78d4c2390Binary files /dev/null and b/website/static/img/chrome-scrape-light.gif differdiff --git a/website/tools/website_gif/chrome-scrape-dark.gif b/website/tools/website_gif/chrome-scrape-dark.gifindex 7f99b2e36..b285e4623 100644Binary files a/website/tools/website_gif/chrome-scrape-dark.gif and b/website/tools/website_gif/chrome-scrape-dark.gif differdiff --git a/website/tools/website_gif/chrome-scrape-dark.mp4 b/website/tools/website_gif/chrome-scrape-dark.mp4index 7fb4b0cf5..8c0b3a033 100644Binary files a/website/tools/website_gif/chrome-scrape-dark.mp4 and b/website/tools/website_gif/chrome-scrape-dark.mp4 differdiff --git a/website/tools/website_gif/chrome-scrape-light.gif b/website/tools/website_gif/chrome-scrape-light.gifindex ed7ee4014..78d4c2390 100644Binary files a/website/tools/website_gif/chrome-scrape-light.gif and b/website/tools/website_gif/chrome-scrape-light.gif differdiff --git a/website/tools/website_gif/chrome-scrape-light.mp4 b/website/tools/website_gif/chrome-scrape-light.mp4index 3c018b968..e13f4b33d 100644Binary files a/website/tools/website_gif/chrome-scrape-light.mp4 and b/website/tools/website_gif/chrome-scrape-light.mp4 differdiff --git a/website/tools/website_gif/website_gif.mjs b/website/tools/website_gif/website_gif.mjsindex 919c3584d..4c4f48313 100644--- a/website/tools/website_gif/website_gif.mjs+++ b/website/tools/website_gif/website_gif.mjs@@ -7,7 +7,7 @@* 4. Resume, record, ???, profit!*/-import { PuppeteerCrawler, RequestQueue, sleep } from 'crawlee';+import { PuppeteerCrawler, sleep } from 'crawlee';const crawler = new PuppeteerCrawler({headless: false,@@ -20,10 +20,10 @@ const crawler = new PuppeteerCrawler({},async requestHandler({ request }) {if (request.userData.label === 'start') {- console.log('Waiting 10s, prepare recording!');- await sleep(10000); // <--- Set breakpoint here+ console.log('Waiting 5s, prepare recording!');+ await sleep(5000); // <--- Set breakpoint here} else {- await sleep(2500); // <--- Set breakpoint here for initial request, remove after+ await sleep(250);}},});diff --git a/website/versioned_docs/version-3.0/introduction/01-setting-up.mdx b/website/versioned_docs/version-3.0/introduction/01-setting-up.mdxindex 4ac8fb3e3..9257a4ce9 100644--- a/website/versioned_docs/version-3.0/introduction/01-setting-up.mdx+++ b/website/versioned_docs/version-3.0/introduction/01-setting-up.mdx@@ -82,10 +82,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Next lessondiff --git a/website/versioned_docs/version-3.0/quick-start/index.mdx b/website/versioned_docs/version-3.0/quick-start/index.mdxindex 3a9b7ee96..869e06b47 100644--- a/website/versioned_docs/version-3.0/quick-start/index.mdx+++ b/website/versioned_docs/version-3.0/quick-start/index.mdx@@ -138,10 +138,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Resultsdiff --git a/website/versioned_docs/version-3.1/introduction/01-setting-up.mdx b/website/versioned_docs/version-3.1/introduction/01-setting-up.mdxindex 01e17f700..a69852298 100644--- a/website/versioned_docs/version-3.1/introduction/01-setting-up.mdx+++ b/website/versioned_docs/version-3.1/introduction/01-setting-up.mdx@@ -82,10 +82,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Next lessondiff --git a/website/versioned_docs/version-3.1/quick-start/index.mdx b/website/versioned_docs/version-3.1/quick-start/index.mdxindex 3a9b7ee96..869e06b47 100644--- a/website/versioned_docs/version-3.1/quick-start/index.mdx+++ b/website/versioned_docs/version-3.1/quick-start/index.mdx@@ -138,10 +138,10 @@ For the sake of this show off, we've slowed down the crawler, but rest assured,<ThemedImagealt="An image showing off Crawlee scraping the Crawlee website using Puppeteer/Playwright and Chromium"sources={{- light: '/img/chrome-scrape-light-compressed.gif',- dark: '/img/chrome-scrape-dark-compressed.gif',+ light: '/img/chrome-scrape-light.gif',+ dark: '/img/chrome-scrape-dark.gif',}}-/>;+/>## Results