run_search_task
Search Xiaohongshu notes by brand and category, extract product comments, and execute keyword extraction, sentiment classification, and heat scoring. Results are exported as Excel and JSON files for further analysis.
Instructions
搜索小红书笔记并批量抓取产品评论,返回分析结果和文件路径。
自动化流程: 搜索匹配笔记 → 逐篇抓取评论 → 关键词提取 + 情感分类 + 热度评分 → 导出 Excel + JSON
Args: brand_keywords: 品牌词列表 (必须匹配), 如 ["小熊"] category_keywords: 品类词列表 (必须匹配), 如 ["小家电"] product_keywords: 具体产品词列表 (可选), 如 ["酸奶机", "蒸蛋器"] max_notes: 最多抓取笔记数 (1-200), 默认20 max_comments_per_note: 每篇最多评论数 (1-1000), 默认100 sort_by: 排序方式, general=综合, popularity=热门, time=最新 min_likes: 笔记最低点赞门槛, 默认0 comment_filter: 是否过滤产品相关评论, 默认True
Returns: JSON 格式的分析结果摘要,包含统计信息、关键词、情感分布和导出文件路径
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort_by | No | general | |
| max_notes | No | ||
| min_likes | No | ||
| brand_keywords | Yes | ||
| comment_filter | No | ||
| product_keywords | No | ||
| category_keywords | Yes | ||
| max_comments_per_note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |