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.

Merge branch 'master' into feature/call-task-458

Ondra Urband2583a4dd4fe
diff --cc src/actor.js
index 6cac569d3,24d064618..fa17d135b
--- a/src/actor.js
+++ b/src/actor.js
@@@ -497,7 -506,8 +506,9 @@@ export const callTask = async (taskId,
if (build) runTaskOpts.build = build;
if (memoryMbytes) runTaskOpts.memory = memoryMbytes;
if (timeoutSecs >= 0) runTaskOpts.timeout = timeoutSecs; // Zero is valid value!
+ if (input) runTaskOpts.input = input;
+ if (webhooks) runTaskOpts.webhooks = webhooks;
+ if (input) addInputOptionsOrThrow(input, options.contentType, runTaskOpts);
// Start task.
const { waitSecs } = options;