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 debug log message
Jan Curn8e75e605f444
diff --git a/src/actor.js b/src/actor.jsindex 07404c65d..c63b28034 100644--- a/src/actor.js+++ b/src/actor.js@@ -65,6 +65,7 @@ export const getInput = (callback = null) => {} else if (typeof (input) !== 'object'|| (typeof (input.body) !== 'string' && !Buffer.isBuffer(input.body))|| (typeof (input.contentType) !== 'string' && input.contentType !== null)) {+ console.log(input);throw new Error('ApifyClient returned an unexpected value from keyValueStores.getRecord()');}return input;