Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Download videos, audio, subtitles, and covers from Bilibili using bilibili-api. Use when working with Bilibili content for downloading videos in various qual...
Download videos, audio, subtitles, and covers from Bilibili using bilibili-api. Use when working with Bilibili content for downloading videos in various qual...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Download a video by URL: pip install bilibili-api-python python -c " from bilibili_api import video, sync v = video.Video(bvid='BV1xx411c7m2') sync(v.download(output='./video.mp4')) "
Specify quality with qn parameter (127=8K, 126=ๆๆฏ, 125=1080P+, etc.) Default selects best available quality
Download original soundtrack: v.download_audious(output='./audio.mp3') Supports various audio formats
Get available subtitles: v.get_subtitle() Download subtitle files: sync(v.download_subtitle(output='./'))
Get cover URL: v.get_cover() Download cover: sync(v.download_cover(output='./cover.jpg'))
from bilibili_api import video, sync v = video.Video(bvid='BV1xx411c7m2') sync(v.download(output='./video.mp4'))
from bilibili_api import video, sync v = video.Video(bvid='BV1xx411c7m2') info = v.get_download_url(qn=127) # 8K quality
from bilibili_api import video, sync from bilibili_api import playlist pl = playlist.Playlist(playlist_id='123456') for v in sync(pl.get_videos()): sync(v.download(output=f'./playlist/{v["title"]}.mp4'))
from bilibili_api import video, sync v = video.Video(bvid='BV1xx411c7m2') sync(v.download_audio(output='./audio.mp3'))
For premium content, use browser cookies: Login to Bilibili in browser Export SESSDATA cookie value Set environment variable: export BILIBILI_SESSDATA='your_cookie_value'
bilibili-api-python: pip install bilibili-api-python ffmpeg: Required for video/audio processing Python 3.8+
Utility scripts for common download operations.
API documentation from bilibili-api repo Quality codes reference (qn values) Cookie setup guide
Download templates and configuration examples.
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.