feat: expose acceptance Link AI aggregate data

This commit is contained in:
2026-08-20 17:07:55 +08:00
parent fd83c2d1b2
commit 6bc0f16006
3 changed files with 76 additions and 0 deletions

View File

@@ -338,6 +338,15 @@ def collect_keyword_sources(keyword: str, credential_id: str | None = None) -> d
)
def match_feishu_notes(keyword: str, task_limit: int = 100) -> dict[str, Any]:
"""调用爬虫服务,比对飞书笔记和问一问采集来源。"""
return _post(
"/api/v1/xhs/feishu-notes/matches",
{"keyword": keyword, "task_limit": task_limit},
retry_transient=True,
)
def resume_collection(crawler_task_id: str) -> dict[str, Any]:
"""沿用原爬虫任务 ID,从 framework 保存的检查点继续采集。"""