Hamlin-Xu

DanmuTools

DanmuTools is a PyQt5 desktop tool that downloads danmaku from iQiyi, Bilibili, Youku, and Tencent Video and exports it as standard XML compatible with Bilibili local players.

v1.2
Published at
8d ago
21
Stars
129
Download
Synced at
7d ago

Latest release

v1.2Oct 11, 2026, 03:47 PM
Downloads slow? Switch the source anytime above

README

Project Overview

DanmuTools is a desktop tool that fetches danmaku across multiple platforms, useful for video analysis, danmaku visualization, and comment research. It covers four major sites: iQiyi, Bilibili, Youku, and Tencent Video, parsing and fetching danmaku automatically once you paste a video link. Fetching runs on background threads so the interface stays responsive, and the results are exported as standard XML that Bilibili local players can use directly. It ships a graphical interface that keeps operation simple.

Four platforms' danmaku, fetched at once and saved as XML.

Key Features

  • Multi-platform: covers iQiyi, Bilibili, Youku, and Tencent Video
  • Link recognition: automatically detects video links and parses the matching danmaku data
  • Live progress: shows real-time progress while fetching
  • Standard export: exports danmaku as XML compatible with Bilibili local players
  • Graphical interface: a PyQt5 desktop UI with no command line required
  • Multithreaded fetching: fetching runs on background threads so the UI never freezes

Target Audience

  • Researchers who download danmaku for analysis
  • Developers working on danmaku visualization
  • Users who want danmaku for a local player
  • Users who need to organize comment data in bulk

Quick Start

  1. Install Python 3.9 or newer, preferably in a virtual environment
  2. Run pip install -r requirements.txt to install dependencies
  3. Run python main.py to launch the graphical interface
  4. Paste a video link and pick a platform (auto-detection is supported)
  5. Set the save path and click "start download" to get an .xml file

Core Advantages

  • Full platform coverage: one tool spans four major video platforms
  • Ready to use: a graphical interface with no scripting needed
  • Universal export: the XML works directly with Bilibili local players
  • Responsive UI: multithreaded fetching keeps long tasks smooth

System Requirements

Item Requirement
OS Windows, macOS, Linux
Runtime Python 3.9 and above
Dependencies PyQt5 (installed via requirements.txt)

Notes

  • This project is for study and research only; commercial use is prohibited
  • Platform APIs may change, so some fetches may fail
  • Please follow the target platforms' terms and policies

Release history

Sort