MediaUse Docs

Examples
Common CLI patterns across different sites, including standard and shortcut account syntax.
Account usage patterns
MediaUse supports both explicit account binding and shortened site@account syntax. The explicit form is clearer for debugging, while the shortcut is convenient for repeated use.
  • Standard form: mediause use account <site>[:id] --show
  • Shortcut form: mediause <site>@<id> <capability> <action> --json
  • Guest form: mediause <site>@guest <capability> <action> --json
1) Hacker News
For read-only sites, you can skip the explicit auth binding and rely on guest mode directly.
# standard form
mediause use account hackernews --show
mediause hackernews get best --json

# quick form (equivalent to hackernews@guest)
mediause hackernews get best --json
# actual resolved form
mediause hackernews@guest get best --json
2) Netflix
Netflix is account-based. Bind an active browser context before running the site command.
# standard form
mediause use account netflix --show
mediause netflix list comingSoon --json
3) Xiaohongshu
After login, store the account id and reuse it. The @id shortcut reduces the login/bind flow to one line.
# login and get account id
mediause auth login xhs

# bind account and show browser window
mediause use account xhs:123456 --show
mediause xhs search hot --json

# if you already have another account id, switch by id
mediause use account xhs:654321 --show

# quick shorthand
mediause xhs@123456 search hot --json
4) Weibo
Weibo posts require an active account context and can be driven with a normal browser session.
# login and get account id
mediause auth login weibo

# bind account and show browser window
mediause use account weibo:123456 --show

# post content
mediause weibo post feed --title "SpringLaunch" --text "New feature release" --media ./launch.png
Rule of thumb
Use the explicit form when onboarding or debugging a workflow. Use the short form when the site is guest-only or the account id is already known and stable.
# explicit and easy to audit
mediause use account xhs:123456 --show
mediause xhs search hot --json

# short and convenient
mediause xhs@123456 search hot --json