Skip to content

Weibo (微博)

Mode: 🔐 Browser · Domain: weibo.com

Commands

CommandDescription
opencli weibo hot微博热搜
opencli weibo searchSearch Weibo posts by keyword
opencli weibo feed首页时间线(for-you / following
opencli weibo user用户信息
opencli weibo user-posts按用户列出微博,可选日期范围
opencli weibo me我的信息
opencli weibo post读取单条微博
opencli weibo favorites我的微博收藏列表
opencli weibo publish通过网页 UI 直接发布微博,支持最多 9 张图片
opencli weibo delete删除登录账号自己的单条微博
opencli weibo comments微博评论

Usage Examples

bash
# Quick start
opencli weibo hot --limit 5

# JSON output
opencli weibo hot -f json

# Search
opencli weibo search "OpenAI" --limit 5

# Home timeline (default: for-you / 推荐流)
opencli weibo feed --limit 10

# Following-only timeline (strict chronological following feed)
opencli weibo feed --type following --limit 10

# Read a post from feed/search using the emitted id
opencli weibo post <id>

# List a user's posts by uid or screen name
opencli weibo user-posts 1670458304 --start 2025-06-01 --end 2025-06-02 --limit 20

# Verbose mode
opencli weibo hot -v

# Favorites
opencli weibo favorites --limit 20

# Publish text (executes immediately)
opencli weibo publish "Hello from OpenCLI"

# Publish text with images (executes immediately)
opencli weibo publish "Hello with images" --images /path/a.jpg,/path/b.png

# Delete one of your own posts (executes immediately)
opencli weibo delete <id>

Listing Columns

feed, search, and user-posts expose id for post rows. Pass that value directly to opencli weibo post <id>. hot rows are search topics, not post rows.

Prerequisites

Released under the Apache-2.0 License.