9b395f5cc3
E2E Headed Chrome / e2e-headed (macos-15) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (ubuntu-latest) (push) Has been cancelled
E2E Headed Chrome / e2e-headed (windows-latest) (push) Has been cancelled
CI / build (macos-latest) (push) Has been cancelled
CI / build (ubuntu-latest) (push) Has been cancelled
CI / build (windows-latest) (push) Has been cancelled
CI / unit-test (push) Has been cancelled
CI / bun-test (push) Has been cancelled
CI / adapter-test (push) Has been cancelled
CI / smoke-test (macos-latest) (push) Has been cancelled
CI / smoke-test (ubuntu-latest) (push) Has been cancelled
Security Audit / audit (push) Has been cancelled
Build Chrome Extension / build (push) Has been cancelled
Trigger Website Rebuild (Docs Updated) / dispatch (push) Has been cancelled
4.2 KiB
4.2 KiB
Bilibili
Mode: 🔐 Browser · Domain: bilibili.com
Commands
| Command | Description |
|---|---|
opencli bilibili hot |
|
opencli bilibili search |
|
opencli bilibili me |
|
opencli bilibili favorite |
Read your first favorite folder, or a specific folder with --fid |
opencli bilibili history |
|
opencli bilibili feed |
Read the following feed, or a specific user's dynamics by uid/name |
opencli bilibili feed-detail |
Read one dynamic in detail, including exclusive content |
opencli bilibili subtitle |
|
opencli bilibili video |
Get one video's metadata (title, author, duration, stats) by BV / URL / b23.tv link |
opencli bilibili summary |
Get the official AI video summary and timestamped outline by BV / URL / b23.tv link |
opencli bilibili comments |
Read top-level comments, or read replies under a top-level comment with --parent |
opencli bilibili comment |
Post a top-level comment or reply under a top-level comment (requires --execute) |
opencli bilibili dynamic |
|
opencli bilibili ranking |
|
opencli bilibili following |
|
opencli bilibili follow |
Follow a user by UID, profile URL, or resolvable name; verifies the relation after modify |
opencli bilibili unfollow |
Unfollow a user by UID, profile URL, or resolvable name; verifies the relation after modify |
opencli bilibili user-videos |
|
opencli bilibili download |
Usage Examples
# Quick start
opencli bilibili hot --limit 5
# Search videos
opencli bilibili search 黑神话 --limit 10
# Read one creator's videos
opencli bilibili user-videos 2 --limit 10
# Follow / unfollow a creator
opencli bilibili follow 9617619
opencli bilibili unfollow https://space.bilibili.com/9617619
# Read your first favorite folder
opencli bilibili favorite --limit 10
# Read a specific favorite folder
opencli bilibili favorite --fid 123456789 --limit 10
# Read following feed
opencli bilibili feed --limit 10
# Read one user's dynamics by UID
opencli bilibili feed 2 --limit 10
# Read one user's dynamics by username and paginate
opencli bilibili feed 老番茄 --pages 2 --type video
# Read one dynamic in detail
opencli bilibili feed-detail 1234567890123456789
# Fetch subtitles
opencli bilibili subtitle BV1xx411c7mD --lang zh-CN
# Inspect one video's metadata
opencli bilibili video BV1xx411c7mD
opencli bilibili video https://www.bilibili.com/video/BV1xx411c7mD/
# Fetch the official AI summary for a video
opencli bilibili summary BV1xx411c7mD
opencli bilibili summary https://www.bilibili.com/video/BV1xx411c7mD/
# Read comments and a reply thread under a top-level rpid
opencli bilibili comments BV1xx411c7mD --limit 10
opencli bilibili comments BV1xx411c7mD --parent 123456789 --limit 10
# Post a comment or reply. The write only happens with --execute.
opencli bilibili comment BV1xx411c7mD "这条评论来自 OpenCLI" --execute
opencli bilibili comment BV1xx411c7mD "回复楼主" --parent 123456789 --execute
# JSON output
opencli bilibili hot -f json
# Verbose mode
opencli bilibili hot -v
Prerequisites
- Chrome running and logged into bilibili.com
- Browser Bridge extension installed
Notes
opencli bilibili feedwithoutuidreads your following feedopencli bilibili feed <uid-or-name>reads a specific user's dynamicsopencli bilibili favoritedefaults to the first favorite folder when--fidis omittedfeed-detailexpects the dynamic ID from ahttps://t.bilibili.com/<id>URLcommentsemitsrpid; pass a top-level row'srpidtocomments --parentto read its reply threadcomments --limitaccepts1..50; empty comment lists raiseEmptyResultErrorcommentis a write command and refuses to post unless--executeis passedcomment --parentexpects the top-level/rootrpid; nested reply-to-reply targeting is not inferredfollowandunfolloware write commands; they no-op when the current relation already matches the requested state and otherwise re-read/x/relationafter modify before reporting successfollowandunfollowaccept numeric UID, exactspace.bilibili.com/<uid>profile URL, or a name that resolves through Bilibili search