BBDown is a command line media downloader and API client designed for downloading videos, audio, and subtitles from Bilibili. It functions as a tool for video archiving and content scraping, capable of parsing video metadata and extracting stream URLs via Bilibili web, TV, and mobile interfaces.
The project provides a media download server that hosts a network interface, allowing its parsing and downloading capabilities to be exposed as an API for remote clients. It utilizes multi-API stream resolution to identify the highest quality streams across different platform endpoints.
The tool includes a media stream muxer to combine separate audio and video streams into a single file while preserving chapter information. It supports user account authentication via QR codes, tokens, or cookies to access member-only content, and provides metadata-driven filename templating and range selection for batch downloads.