feat: expose acceptance Link AI aggregate data
This commit is contained in:
@@ -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 保存的检查点继续采集。"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user