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.

Fix tutorial

Ondra Urban7f61b9c9fc5f
diff --git a/docs/guides/getting_started.md b/docs/guides/getting_started.md
index fcdf6a93f..98aba6a58 100644
--- a/docs/guides/getting_started.md
+++ b/docs/guides/getting_started.md
@@ -1229,7 +1229,7 @@ Apify.main(async () => {
handlePageFunction: async (context) => {
const { request } = context;
log.info(`Processing ${request.url}`);
- router[request.userData.label](context);
+ await router[request.userData.label](context);
}
});