Bilibili Video Danmaku Comment Acquisition and In-depth Analysis: From Link to Structured Public Opinion Report

Preface

When conducting content reviews or competitor analysis on Bilibili (B-site), the common practice is to manually scroll through comment sections, export danmaku (bullet comments), and compile tables yourself. When the volume of comments is large, it is difficult to complete sentiment analysis, frequency analysis of high-frequency words, and danmaku hotspot identification within a single session. The following introduces a Skill used within an Agent: by inputting a video link or BV number, the model follows the Skill’s guidelines to complete data collection and analysis, and outputs a structured report.

What is this

Bilibili Video - Danmaku & Comment Acquisition and Deep Analysis (Coordinate @user_ab5ae6ee/unclecheng-bilibili-analyzer-v2, Version 1.0.0) is a community Skill on SkillHub, categorized under data-analysis, and published by user_ab5ae6ee. The official introduction summarizes it as follows: It performs deep analysis on comments and danmaku of Bilibili videos; after inputting a link or BV number, it automatically collects comments and danmaku, performs sentiment analysis, keyword extraction, and popularity analysis, and generates a structured analysis report. The page tags indicate requires_api_key=false, meaning the Skill metadata does not declare that a third-party API Key must be configured.

SkillHub Page: https://www.skillhub.cn/skills/user_ab5ae6ee/unclecheng-bilibili-analyzer-v2
API Endpoint: https://api.skillhub.cn/user_ab5ae6ee/unclecheng-bilibili-analyzer-v2

Core Features

Based on the official introduction, the verified capabilities include:

  1. Data Acquisition: Retrieves comment and danmaku data based on Bilibili video links or BV numbers.
  2. Sentiment Analysis: Performs sentiment analysis on comments and other content (specific algorithms and models are determined by the SKILL.md within the Skill and the execution environment; implementation details are not separately listed on the page).
  3. Keyword Extraction: Extracts high-frequency or representative keywords from the text.
  4. Popularity Analysis: Conducts popularity-related analysis combining danmaku and other data.
  5. Report Output: Generates structured analysis reports for easy subsequent archiving or secondary processing.

Installation and Activation

SkillHub recommends two methods: asking the AI in the conversation to follow the installation documentation, or using the skillhub CLI. The following steps are from SkillHub Installation and Priority Source Configuration.

1. Check CLI

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + default Skills):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill

When installing, you must use --dir to point to the current Agent’s skills directory; otherwise, it may not be recognized if installed to the default ./skills/.

skillhub install @user_ab5ae6ee/unclecheng-bilibili-analyzer-v2 --dir <skills directory>

Common client skills directories (listed in the same document):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

Alternatively, you can send the prompt provided on the SkillHub page in the conversation and let the AI install @user_ab5ae6ee/unclecheng-bilibili-analyzer-v2 based on https://skillhub.cn/install/skillhub.md.

After installation is complete, restart or refresh the Agent according to the conventions of your client to enable the new Skill.

Typical Usage

The official documentation does not provide separate standalone script examples; the usage is consistent with the introduction: Provide the Bilibili video link or BV number in a conversation with an Agent that has this Skill enabled, and specify the analysis goals (e.g., focusing on comment sentiment, danmaku hotspots, or a full report). The Agent will follow the process within the Skill to complete collection and analysis.

Example of a reproducible statement:

Please use the Bilibili Video Analysis Skill to perform deep analysis on comments and danmaku for BV1xxxxxxxxxx (or https://www.bilibili.com/video/BV1xxxxxxxxxx), and output a structured report containing conclusions on sentiment, keywords, and popularity.

For specific collection scope, limits, and report fields, please refer to the SKILL.md after installation.

Scenarios and Notes

Who it is for

  • Content operations, product, or data analysis professionals who need to summarize public opinion and feedback for a single or a small number of Bilibili videos, but do not want to write crawlers and analysis pipelines manually every time.
  • Users already working in environments that support Skills (such as Cursor, Claude Code, Codex) and wish to drive “Collection + Analysis + Reporting” integrated tasks using natural language.

Notes

  • Data sources are comments and danmaku from public Bilibili pages; please comply with the platform’s Terms of Service and reasonable access frequencies. Do not use this for unauthorized large-scale scraping.
  • The Skill is of community origin. Analysis and collection behaviors depend on the Agent and the local/runtime environment. Results should be used as auxiliary references; important decisions should be verified against raw data.
  • The page does not declare requires_api_key, but if the Skill internally calls services requiring keys during execution, please refer to the actual SKILL.md and execution logs.
  • SkillHub Statistics (based on scraped data): Rating 100000, Downloads 1609, Installs 79; metrics will change over time, please refer to the SkillHub page for the latest data.

Conclusion

Bilibili Video - Danmaku & Comment Acquisition and Deep Analysis consolidates “Link/BV Number → Comments & Danmaku → Sentiment, Keywords, Popularity → Structured Report” into a single Agent workflow, suitable for quickly reviewing user feedback on the video side. Please refer to SkillHub for installation and coordinates:

  • https://www.skillhub.cn/skills/user_ab5ae6ee/unclecheng-bilibili-analyzer-v2
  • https://api.skillhub.cn/user_ab5ae6ee/unclecheng-bilibili-analyzer-v2
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye