skills/skills.volces.com/bilibili-danmaku

bilibili-danmaku

Installation
SKILL.md

Bilibili Danmaku

Quick Start

  1. 安装依赖(首次必做):
  • bash {baseDir}/scripts/ensure_env.sh
  1. 抓取弹幕:
  • python3 {baseDir}/scripts/fetch_danmaku.py --url "<bilibili_video_url>" --outdir "{baseDir}/output"
  1. 运行分析(jieba + 清洗 + SnowNLP + 高密度词云PNG):
  • bash {baseDir}/scripts/analyze.sh "<danmaku_csv_path>" "<meta_json_path>" "{baseDir}/output" "<task_name>"
  1. 可选:增加自定义清洗词
  • --stopwords-file:传入自定义停用词文件(可重复)
  • --extra-stopwords:临时追加停用词(逗号分隔)
  • 示例:
    • "{baseDir}/.venv/bin/python" {baseDir}/scripts/analyze_danmaku.py --csv "<csv>" --meta "<meta>" --outdir "{baseDir}/output" --name task_clean --extra-stopwords "妈妈,亲戚,这边"
Installs
6
First Seen
Mar 15, 2026
bilibili-danmaku from skills.volces.com