如何找到 apify 任务的完成状态 运行
How to find the completion status of apify task run
如何找到 apify 任务的完成状态(成功、失败或中止)运行?
const crawler = new PhantomCrawler({
input,
requestQueue,
dataset,
});
await crawler.run();
或者如果您有
"actorId": ${JSON.stringify(process.env.APIFY_ACTOR_ID || null)},
"taskId": ${JSON.stringify(process.env.APIFY_ACTOR_TASK_ID || null)},
"runId": ${JSON.stringify(process.env.APIFY_ACTOR_RUN_ID || null)},
我在 SDK 中看不到任何参考或 API
https://sdk.apify.com/docs/api/apify
https://docs.apify.com/api/v2#/reference/actors/actor-object/run-task
如何找到 apify 任务的完成状态(成功、失败或中止)运行?
const crawler = new PhantomCrawler({
input,
requestQueue,
dataset,
});
await crawler.run();
或者如果您有
"actorId": ${JSON.stringify(process.env.APIFY_ACTOR_ID || null)},
"taskId": ${JSON.stringify(process.env.APIFY_ACTOR_TASK_ID || null)},
"runId": ${JSON.stringify(process.env.APIFY_ACTOR_RUN_ID || null)},
我在 SDK 中看不到任何参考或 API
https://sdk.apify.com/docs/api/apify
https://docs.apify.com/api/v2#/reference/actors/actor-object/run-task