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: improve upgrading guide
Martin Adámek9f5d3267298d
diff --git a/docs/upgrading/upgrading_v3.md b/docs/upgrading/upgrading_v3.mdindex 2be96b1c4..d6129766a 100644--- a/docs/upgrading/upgrading_v3.md+++ b/docs/upgrading/upgrading_v3.md@@ -7,14 +7,18 @@ import ApiLink from '@site/src/components/ApiLink';This page summarizes most of the breaking changes between Crawlee (v3) and Apify SDK (v2). Crawlee is the spiritual successor to Apify SDK, so we decided to keep the versioning and release Crawlee as v3.-## Crawlee vs Apify SDK+:::info Crawlee vs Apify SDK v2Up until version 3 of `apify`, the package contained both scraping related tools and Apify platform related helper methods. With v3 we are splitting the whole project into two main parts:-- Crawlee, the new web-scraping library, available as `crawlee` package on NPM-- Apify SDK, helpers for the Apify platform, available as `apify` package on NPM+- [Crawlee](https://github.com/apify/crawlee), the new web-scraping library, available as [`crawlee`](https://www.npmjs.com/package/crawlee) package on NPM+- [Apify SDK](https://github.com/apify/apify-sdk-js), helpers for the Apify platform, available as [`apify`](https://www.npmjs.com/package/apify) package on NPM-Moreover, the Crawlee library is published as several packages under `@crawlee` namespace:+:::++## Crawlee monorepo++The [`crawlee`](https://www.npmjs.com/package/crawlee) package consists of several smaller packages, released separately under `@crawlee` namespace:- `@crawlee/core`: the base for all the crawler implementations, also contains things like `Request`, `RequestQueue`, `RequestList` or `Dataset` classes- `@crawlee/basic`: exports `BasicCrawler`diff --git a/website/docusaurus.config.js b/website/docusaurus.config.jsindex 1216f2272..9dffa2c7d 100644--- a/website/docusaurus.config.js+++ b/website/docusaurus.config.js@@ -209,6 +209,10 @@ module.exports = {label: 'API reference',to: 'api/core',},+ {+ label: 'Upgrading to v3',+ to: 'docs/upgrading/upgrading-to-v3',+ },],},{diff --git a/website/sidebars.js b/website/sidebars.jsindex 48516c15c..edfe2e25b 100644--- a/website/sidebars.js+++ b/website/sidebars.js@@ -5,12 +5,6 @@ module.exports = {type: 'category',label: 'Introduction',collapsed: false,- // link: {- // type: 'generated-index',- // title: 'Getting started',- // slug: '/getting-started',- // keywords: ['getting started'],- // },link: {type: 'doc',id: 'introduction/index',