返回 Skill 列表
extension
分类: 数据与分析无需 API Key

社交媒体舆情监测

在小红书/抖音/b站贴吧等搜索自定义关键词,检索爬取帖子内容和评论,支持筛选最多点赞/最多评论,以及时间跨度。并进行评论清洗和分析,支持进行评论二级分类

person作者: user_455f8152hubcommunity

Custom Keyword Public Sentiment Clean

Purpose

This skill collects and summarizes public content from four platforms for a user-defined keyword:

  • Xiaohongshu
  • Douyin
  • Weibo
  • Bilibili

It is intended for quick cross-platform monitoring of games, products, campaigns, brands, or public topics within a recent 24-hour window.

Inputs

  • keyword: primary keyword, required
  • aliases: optional aliases, comma separated
  • strong_keywords: optional strong-related terms, comma separated
  • workdir: full Windows output directory, required

Standard workflow

  1. Run a headless full scan first:
python scripts/cloak_scrape.py <workdir> --platform all --headless --keyword "<keyword>" --aliases "alias1,alias2" --strong-keywords "term1,term2"
  1. Read only === SCRAPE SUMMARY === and NEED_LOGIN.
  2. Rerun only blocked platforms in headful mode if needed.
  3. Aggregate the report:
python scripts/aggregate.py <workdir>

Outputs

  • query_config.json
  • xhs_raw.txt
  • douyin_raw.txt
  • weibo_raw.txt
  • bilibili_raw.txt
  • <keyword_slug>_24h_report.md
  • evidence screenshots for sorting, captcha, and page-state verification

Design principles

  • Headless full scan first, then targeted headful reruns only when needed
  • Use SCRAPE SUMMARY as the main control signal
  • Use query_config.json for dynamic filtering and report naming
  • Reuse verified sorting and extraction logic per platform where available

Beta note

  • This is a Beta release.
  • The Bilibili path has passed smoke testing.
  • Xiaohongshu, Weibo, and Douyin may require login or may trigger verification challenges.
  • Recommended usage: run headless first, then rerun only blocked platforms in headful mode.
  • See BETA_DELIVERY.md for current delivery scope and limitations.