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
Update hello_world example
Ondra Urban1bb1a7669bfe
diff --git a/examples/hello_world.js b/examples/hello_world.jsindex 13befe71a..c20c3920d 100644--- a/examples/hello_world.js+++ b/examples/hello_world.js@@ -17,7 +17,7 @@ Apify.main(async () => {handlePageFunction: async ({ request, page }) => {const title = await page.title();console.log(`Title of ${request.url}: ${title}`);- await Apify.utils.puppeteer.enqueueLinks(page, 'a', pseudoUrls, requestQueue);+ await Apify.utils.puppeteer.enqueueLinks({ page, selector: 'a', pseudoUrls, requestQueue });},maxRequestsPerCrawl: 100,maxConcurrency: 10,