bilibili-api
CommunityAutomate Bilibili tasks with an async Python API
Authorarchibate
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provide programmatic, automatable access to Bilibili platform operations so developers and agents can retrieve video and live data, manage comments and favorites, upload content, and monitor live events without manual browser scraping.
Core Features & Use Cases
- Extensive API Coverage: Async Python wrapper exposing 400+ endpoints across video, live, user, comment, upload, search, and more.
- Authentication & Credential Management: Guidance and utilities to extract cookies, perform QR/password/SMS login flows, validate sessdata and bili_jct, and refresh credentials.
- Download, Upload & Real-time: Workflows for obtaining download URLs, handling DASH/FLV streams and merging audio/video, uploaders with event monitoring, and WebSocket-based live danmaku monitoring and bots.
- Configurable HTTP Backends & Utilities: Switch between curl_cffi, aiohttp, and httpx, set proxies/timeouts, handle anti-spider WBI/BUVID logic, and use helper utilities like aid2bvid/bvid2aid and link parsing.
- Reference Docs & Examples: Rich references and runnable scripts (quickstart, credential_check) demonstrating common patterns and validation.
Quick Start
Fetch and print video info for BV1uv411q7Mv and run the credential_check script to validate Bilibili cookies.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bilibili-api Download link: https://github.com/archibate/archibate-skills/archive/main.zip#bilibili-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.