返回顶部
w

weibo-cli

|

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
599
下载量
1
收藏
概述
安装方式
版本历史

weibo-cli

# Weibo CLI Query Weibo public data via `weibo` command. No login or API key required. ## Installation ```bash # Global install npm install -g @marvae24/weibo-cli # Or local install (safer) npm install @marvae24/weibo-cli npx @marvae24/weibo-cli hot ``` ## Authentication **No authentication required.** The CLI uses Weibo's public mobile web API with auto-generated visitor cookies. All data accessed is publicly available on weibo.com. Optional: Set `WEIBO_COOKIE` environment variable for higher rate limits (your own login cookie). ## Commands ### Hot Searches ```bash # Top 50 trending weibo hot --json # Limit results weibo hot --limit 10 --json # Topic detail (read count, discussion count) weibo hot "AI" --json ``` ### Search ```bash # Search posts (default) weibo search "咖啡" --json # Search users weibo search "咖啡" --type user --json # Search topics with stats weibo search "旅行" --type topic --stats --json # Types: content, user, topic, realtime, hot, video, image, article weibo search "猫" --type video --limit 5 --json ``` ### User ```bash # Profile (need UID) weibo user 123456789 --json # User feeds weibo user 123456789 --feeds --json # Hot feeds (sorted by engagement) weibo user 123456789 --feeds --hot --json # Following/followers weibo user 123456789 --following --json weibo user 123456789 --followers --json # Pagination weibo user 123456789 --feeds --limit 20 --page 2 --json ``` ### Post ```bash # Post detail weibo post 5000000000000000 --json # Comments weibo post 5000000000000000 --comments --json ``` ## Output Always use `--json` for structured output. Parse with jq: ```bash weibo hot --limit 10 --json | jq '.[] | {keyword: .description, heat: .trending}' weibo user 123456789 --json | jq '{name: .screen_name, followers: .followers_count}' weibo search "coffee" --json | jq '.[0] | {text: .text, reposts: .reposts_count}' ``` ## Rate Limiting If you see rate limit errors, wait 1-2 minutes. The CLI auto-retries with exponential backoff.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 weibo-cli-1776092471 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 weibo-cli-1776092471 技能

通过命令行安装

skillhub install weibo-cli-1776092471

下载 Zip 包

⬇ 下载 weibo-cli v0.1.1

文件大小: 1.64 KB | 发布时间: 2026-4-15 14:58

v0.1.1 最新 2026-4-15 14:58
Clarify no-auth required, add local install option

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部