您如何找到 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