Introduction¶
The following section introduces the DeepSeek Harness plugin: Bilibili Audio and Video Download Assistant. The plugin is maintained by menghuanshiguang, belongs to the Internet tools category, and is designed to address the automation of Bilibili video downloads. By integrating the bilidown CLI with interactive skills, the plugin encapsulates video parsing, quality selection, and batch download capabilities into a DSH plugin, supporting direct operations by sending links or commands in a session.
Installation¶
Install it using the official command:
dsh plugin --profile <profile> add bilibili-downloader-dsh
Core Capabilities¶
The plugin provides the following core capabilities:
* HTTP 412 anti-scraping avoidance: Handles the common HTTP 412 status code returned by Bilibili.
* QR code login to unlock HD: Uses QR code login to obtain higher video quality permissions.
* Official API direct link instant download: Uses official APIs to obtain direct links, suitable for processing large collections.
* AV1 avoidance: Automatically selects H.264 encoding to avoid AV1 format compatibility issues.
* Segment extraction: Supports downloading specified video segments.
* Collection instant download: Supports batch downloading of video collections.
* Online preview: Provides online preview before downloading.
Typical Usage¶
After installation, directly send a link or command in the session. Supported input formats include:
* Video link (e.g., https://www.bilibili.com/video/BV1GJ411x7h7)
* BV ID
* b23.tv short link
* UP-master’s space
* Song title (e.g., “Search for 《兰花草》 on Bilibili and download it”)
Notes¶
- ffmpeg dependency: ffmpeg is a hard dependency. Before installation, ensure that
ffmpegandffprobeare installed in the system. - Quality limits: Guest mode supports only 360P/480P; 720P and higher quality require QR code login via
bilidown login. - Copyright notice: The plugin does not bypass copyright or paywalls; it downloads only content that the user is authorized to access.
- Bilibili risk control: Do not perform high-frequency operations during batch downloading. When using
listmode, the program has a built-in 3-6s interval. - Windows environment: bilidown is implemented in Python. The DSH proxy can directly execute
bilidown ...using the pwsh tool (Git Bash is not required). - Short link parameters: The
p=Nparameter in b23.tv short links is not trustworthy; it only indicates the position at which the share link was stopped. In collection scenarios, usebilidown findto search for the song.