TTokenySpace
返回 Skills 列表

Dataify Task Result

Download the JSON result for a completed Dataify scraper task by task ID. Use after $dataify-task-status reports `成功`, or when the user explicitly asks to re...

#中文
0

安装到 Tokeny(自动)

下载 ZIP
安装"dataify-task-result"技能
技能信息:
- 名称: Dataify Task Result
- 标识: dataify-task-result
- 描述: Download the JSON result for a completed Dataify scraper task by task ID. Use after $dataify-task-status reports `成功`, or when the user explicitly asks to re...
- 版本: 1.0.0
下载地址:
https://www.tokeny.space/api/skills/dataify-task-result/download
继续

复制上方内容到 Tokeny 客户端并在会话中发送即可自动安装;也可直接 下载 ZIP并拖动到技能窗口安装。

SKILL.md

Dataify Task Result

Retrieve one completed task's JSON result from the Dataify /download endpoint. Read the API key only from DATAIFY_API_TOKEN and never include it in output.

Workflow

  1. Require a task ID. Reuse an unambiguous task ID from the preceding task-status response when its status is 成功.
  2. If the status is unknown, query it first with $dataify-task-status unless the user explicitly asks to retrieve the task result directly.
  3. Ensure DATAIFY_API_TOKEN is set. Do not ask the user to paste an API key into chat or pass one on the command line.
  4. Run scripts/download_task_result.py --task-id TASK_ID. The script always sends type=json.
  5. Return the JSON response. If the provider reports an error, return the provider message without retrying the task automatically.

Commands

python3 -X utf8 scripts/download_task_result.py --task-id "TASK_ID"

To preview the request without downloading the result:

python3 scripts/download_task_result.py --task-id "TASK_ID" --dry-run

Reference

Read references/task_result_api.md for request parameters and response behavior.

评论

加载中…