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
Updated README.md
Jan Curn8201b5ee3937
diff --git a/README.md b/README.mdindex 946cdc6ef..c7138da19 100644--- a/README.md+++ b/README.md@@ -36,10 +36,10 @@ Apifier.main( (options) => {// my asynchronous function that returns a promiseconsole.dir(`Received: ${options.input}`);return Promise.resolve()- .then(()=>{- // do something here+ .then(() => {+ // do something async here})- .then(()=>{+ .then(() => {return 'Hello world from asynchronous actor!';});});@@ -61,7 +61,9 @@ const http = require('http');const server = http.createServer((req, res) => {res.statusCode = 200;res.setHeader('Content-Type', 'text/plain');- res.end('Hello World\n');+ res.end('Hello World\n', (err) => {+ process.exit(err ? 1 : 0);+ });});server.listen(process.env.APIFIER_INTERNAL_PORT|0, (err) => {if( err ) {