Loading...
Loading...
Bilibili video platform CLI. TRIGGER when user mentions B站/Bilibili/哔哩哔哩, asks to search videos, check trending/hot/rank, look up UP主, view video details/subtitles/comments, manage watch history/favorites/watch-later, interact with videos (like/coin/triple), post/delete dynamics, or download audio for transcription.
npx skill4agent add midnightv1/claude-code-feishu bilibili-cliexport PATH="$HOME/.local/bin:$PATH"
bili <command> [args]--yamlbili search "keyword" # Search users (default)
bili search "keyword" --type video # Search videos
bili search "keyword" --type video -n 10 # Limit results
bili search "keyword" --page 2 --yaml # Paginate, YAML outputbili video BV1xxx --yaml # Basic video info
bili video BV1xxx -s # With subtitles
bili video BV1xxx -st # Subtitles with timeline
bili video BV1xxx --subtitle-format srt # SRT format subtitles
bili video BV1xxx -c # With comments
bili video BV1xxx --ai # With AI summary
bili video BV1xxx -r # With related videos
bili video "https://bilibili.com/video/BV1xxx" # URL also worksbili hot --yaml # Hot videos (default 20)
bili hot -n 10 -p 2 # Page 2, 10 results
bili rank --yaml # Top ranking (3-day)
bili rank --day 7 -n 10 # 7-day ranking, top 10bili user 12345 --yaml # By UID
bili user "username" --yaml # By name (searches first match)
bili user-videos 12345 -n 20 --yaml # UP's video listbili feed --yaml # Dynamic timeline
bili feed --offset <cursor> # Paginate with cursor
bili favorites --yaml # List all favorites
bili favorites <fav_id> -p 2 --yaml # Videos in a favorite folder
bili history -n 50 --yaml # Watch history
bili watch-later --yaml # Watch later list
bili my-dynamics --yaml # My posted dynamics
bili following --yaml # Following listbili like BV1xxx # Like
bili coin BV1xxx # Coin
bili triple BV1xxx # Like + Coin + Favorite
bili dynamic-post "text content" # Post dynamic
bili dynamic-post --from-file ./post.txt # Post from file
bili dynamic-delete <dynamic_id> # Delete dynamic
bili unfollow <uid> # Unfollow userbili audio BV1xxx # Download + split (25s segments, WAV 16kHz mono)
bili audio BV1xxx --segment 60 # 60s segments
bili audio BV1xxx --no-split # Full audio (m4a)
bili audio BV1xxx -o ~/data/ # Custom output dir/tmp/bilibili-cli/{title}/bili login # QR code login (interactive, terminal only)
bili status # Check login status
bili whoami --yaml # Current user details
bili logout # Clear saved credentialsbili login--json--yaml--yamlBV_OR_URLBV1xxxUID_OR_NAME-p/--page-n/--maxfeed--offsetaudioffmpeg--ai