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
Added logging of process exit code
Jan Curn6674e6490395
diff --git a/package.json b/package.jsonindex d0d3b5bfb..2ee07124e 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "apifier",- "version": "0.0.27",+ "version": "0.0.28","description": "Apifier runtime for JavaScript","main": "build/index.js","keywords": [diff --git a/src/actor.js b/src/actor.jsindex a5c4568a3..0954f0f4d 100644--- a/src/actor.js+++ b/src/actor.js@@ -137,7 +137,7 @@ export const main = (userFunc) => {console.error(message);console.error(err.stack || err);exited = true;- // console.log(`exitWithError: ${exitCode}`);+ console.log(`Exiting with code: ${exitCode}`);process.exit(exitCode);};