Install
openclaw skills install weibo-hot获取微博热搜榜单,按热度排序。无需 API Key。Use when: user asks about trending topics, hot news, social media trends in China.
openclaw skills install weibo-hot获取实时微博热搜榜单,按热度排序。无需 API Key
./weibo_hot.sh
每行一个热搜条目,格式为:热度 | 标题
1234567|某热门话题
987654|另一个热门话题
...
WEIBO_HOT=$(./weibo_hot.sh)
# 获取前 3 条
TOP3=$(echo "$WEIBO_HOT" | head -3)
# 获取第 4-10 条
NEXT7=$(echo "$WEIBO_HOT" | sed -n '4,10p')
title: 热搜标题hot: 热度值(数字)curl 和 jq