MediaUse Docs
Authorization
Login and account context flows for login-required and read-only plugins.
Login-required plugin
Use auth login, then bind account context.
mediause auth login xiaohongshu mediause use account xiaohongshu:account_id --policy balanced mediause auth health --alias xiaohongshu:account_id --json
auth health output example
Expected JSON shape:
{ "account_id": "1197374303", "action": "use.account", "guest_mode": false, "idle_timeout_seconds": 180, "platform": "weibov2", "read_only": false, "ready": { "at_epoch_ms": 1778833822141, "ready": true, "state": "WindowReady", "timeout_ms": 1500 }, "status": "ok" }
Read-only plugin (no login)
For read-only sites, use guest context directly.
# explicit guest mediause use account hackernews:guest # shorthand (equivalent to hackernews:guest) mediause use account hackernews
Manage auth records
List and delete local auth accounts.
mediause auth list --json mediause auth delete xiaohongshu:account_id --json