docs: clarify account name semantics

This commit is contained in:
home-dev-pookz
2026-03-25 04:38:37 +08:00
parent 02afa4dbee
commit b1f9b1af61
16 changed files with 97 additions and 59 deletions
@@ -15,6 +15,9 @@ sau bilibili login --account <account>
- 作用:
- 自动准备 `biliup`
- 触发 Bilibili 登录流程
- 账号说明:
- `--account` 传的是用户自定义的 `account_name`,不是固定只能叫 `creator`
- 一个 `account_name` 对应一个账号文件,可用于多账号隔离和并发任务
- 登录方式说明:
- 这个命令应该由用户自己在本地真实终端里运行
- 如果终端二维码显示不完整,可直接打开当前目录下的 `qrcode.png` 扫码
@@ -9,6 +9,9 @@ from utils.constant import VideoZoneTypes
def main() -> None:
account = "account_a"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
cli_path = Path(BASE_DIR) / "sau_cli.py"
command = [
sys.executable,
@@ -16,7 +19,7 @@ def main() -> None:
"bilibili",
"upload-video",
"--account",
"creator",
account,
"--file",
str(Path(BASE_DIR) / "videos" / "demo.mp4"),
"--title",
@@ -1,14 +1,18 @@
# 登录
# 建议由用户自己在本地真实终端里执行。
# 如果终端二维码显示不完整,可以打开当前目录下的 qrcode.png 扫码。
sau bilibili login --account creator
$account = "account_a"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
sau bilibili login --account $account
# 校验
sau bilibili check --account creator
sau bilibili check --account $account
# 上传视频
sau bilibili upload-video `
--account creator `
--account $account `
--file .\videos\demo.mp4 `
--title "Bilibili CLI Demo" `
--desc "Bilibili CLI Demo" `
@@ -1,14 +1,18 @@
# login
# Run this in a local interactive terminal.
# If the terminal QR code is incomplete, open ./qrcode.png and scan that image.
sau bilibili login --account creator
account="account_a"
# account_name is user-defined. One account_name maps to one account file.
# You can prepare multiple account names and run them in parallel.
sau bilibili login --account "$account"
# check
sau bilibili check --account creator
sau bilibili check --account "$account"
# upload video
sau bilibili upload-video \
--account creator \
--account "$account" \
--file ./videos/demo.mp4 \
--title "Bilibili CLI Demo" \
--desc "Bilibili CLI Demo" \