
yi-luo-hua/bilibilicrawler
Developer toolsThis page was translated automatically. Technical details may differ from the original. View the original
BilibiliCrawler Bilibili Crawler Bilibili Crawler and Comment Analysis Tool - Supports crawling video reviews, posts, articles, and uses LLM API analysis, sentiment analysis, output word cloud images, etc. Supports MCP calls, features a modern GUI interface
Overview
This project was completed using Cursor, Trae, Warp, antigravity, Claude Code, and Codex. If this helps, please give it a star⭐️. Thank you, meow! If you encounter bugs or need new features during use, please submit an Issue. Thank you, meow! - : Fully supports video (BV/AV), updates, column article comments; Supports full recursive paginated crawling of full reply in mid-floors, with max_pages=0 to crawl all comments. - : Supports specific user UID space dynamics, or login via app QR code to capture personal follow page dynamic streams. - : Integrates large language models compatible with OpenAI format (supports custom base URL, model name, and key), supports sampling aggregation and full batch analysis, outputs emotion proportions, topic rankings, sociological/psychological deep insight, and custom analysis perspectives. - : Emotion distribution circle charts, theme ranking bar charts, temporal popularity trends, user level distribution, national/overseas regional map heatmaps, and Python word cloud image generation. - : Built on the base, lightweight native, supports light/dark themes, frosted glass mimicry, local wallpaper backgrounds, and frosted glass effects. - :Released to PyPI, AI Agents (Claude Desktop, Antigravity, Cursor, Cline, etc.) can bypass the interface and directly call crawling and analysis tools without launching the desktop. - :LLM credentials are fully memory-confidential, never logged or logged; Automatically encapsulates crawled comments with security tags to prevent prompt injection attacks; Built-in CSV export protection against formula injection. 1. Go to GitHub Releases to download the latest Windows installation package (such as BilibiliCrawler-Setup-3.7.0-x64.exe). 2. Double-click the installation and launch directly from the desktop or Start menu. 3. Interface display: This project has been released to PyPI, and any agent client supporting the MCP protocol can be easily integrated: For example, in Claude Desktop, Cursor, or Antigravity, add the mcpServers node in the configuration file: : - : Only analysis tools need it; Pure crawling requires no configuration. If the LLM has already been configured locally on the desktop, MCP will automatically discover and reuse it, so there is no need to write the Key plaintext in the configuration. - : Optional configuration. After configuration, Bilibili returns the IP location of the comment; If left blank, it will be anonymously crawled (the location field is empty).
Overview (machine translated)
Bilibili Review / Dynamic Crawling and LLM Public Opinion In-depth Analysis Tool for Users and AI Agents
English | Chinese Simplified
Download the client (Windows) • MCP access guide • Development plan and architecture • Update log
This project was completed using Cursor, Trae, Warp, antigravity, Claude Code, and Codex.
If this helps, please give me a star⭐️, thank you, meow!
If you encounter bugs or need new features during use, please submit an Issue. Thank you, meow!
📖 Table of Contents
- ✨ Core features
- ⚖️ Use form and ability comparison
- 🚀 Get started quickly
- Method 1: Desktop client (recommended for regular users, no Python required)
- Method 2: MCP protocol integration (AI Agent recommended)
- Method 3: Command-line CLI crawling and analysis
- 🖥️ Desktop feature guide
- 📊 Data export and operational archiving
- 🛠️ Source code development and construction
- 📁 Core project structure
- 📝 Version update highlights
- 📄 Licenses and Disclaimers
✨ Core Features
- Complete and in-depth comment capture: Fully supports video (BV/AV), news, and column article comments; Supports automatic recursive pagination of full replies in the post within the post,
max_pages=0can crawl all comments in full. - Dynamic and Follow Stream Crawling: Supports dynamic placement in designated user UID spaces, or by scanning the app to log in to capture personal follow page dynamic streams.
- LLM In-depth Public Opinion Insight: Interfaces with large language models compatible with OpenAI format (supports custom base URLs, model names, and keys), supports sampling aggregation and full batch analysis, outputs emotion proportions, topic rankings, sociological/psychological deep insight, and custom analytical perspectives.
- Rich visualization: Sentiment distribution ring charts, thematic ranking bar charts, temporal popularity trends, user level distribution, national/overseas regional map heatmaps, and Python word cloud image generation.
- Modern desktop experience: Built on Tauri 2 + React 19 + TypeScript + TailwindCSS, lightweight native, supporting light/dark themes, frosted glass mimicry, native wallpaper backgrounds, and frosted glass effects.
- Native support for MCP (Model Context Protocol): Released to PyPI, AI Agents (Claude Desktop, Antigravity, Cursor, Cline, etc.) can directly access crawling and analysis tools without launching the desktop.
- Rigorous Security Design: LLM credentials are fully protected by memory, never logging; Retrieved comments are automatically encapsulated with security tags
to prevent prompt injection attacks; CSV export features built-in formula injection protection.
⚖️ Use Form and Ability Comparison
This project offers two usage modes: desktop and command-line/MCP. Please choose according to your scenario:
This page was translated automatically. Technical details may differ from the original.
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"bilibili-crawler": {
"command": "C:/path/to/.venv-agent/Scripts/bilibili-crawler-mcp.exe",
"args": [],
"env": {
"BILIBILI_LLM_BASE_URL": "https://api.openai.com/v1",
"BILIBILI_LLM_MODEL": "gpt-4o-mini",
"BILIBILI_LLM_API_KEY": "sk-...",
"BILIBILI_COOKIE": "SESSDATA=<your_sessdata>; bili_jct=<your_jct>",
"PYTHONIOENCODING": "utf-8"
}
}
}
}