About weibo-hot
weibo-hot is an agent skill that runs a Python script to fetch current trending-search data from Weibo’s official website. It filters pinned advertisements and displays the top 10 ranked entries.
Key features
- 01Fetch live Weibo trending searches
- 02Run the bundled Python script
- 03Filter pinned advertisements
- 04Display the top 10 ranked entries
Use cases
- 01Check current Weibo trending topics
- 02Retrieve a ranked list for monitoring
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ huangwenxin-gege/ openclaw-skill-weibo-hot --skill weibo-hotAfter installing, type/weibo-hotin Claude Code to confirm it loaded.
Bundled filesscripts/get_hot.pyskill.json
Details
From the project README微博热搜 (Weibo Hot Search)
此技能通过执行 Python 脚本直接从微博官网获取实时热搜数据。
使用方法
- 环境检查:确保本地环境已安装
requests和beautifulsoup4。 - 执行抓取:运行技能附带的脚本获取数据。
命令参考
# 执行抓取脚本
python3 scripts/get_hot.py
注意事项
- 如果请求被拦截(提示访客系统),可能需要更新
scripts/get_hot.py中的Cookie。 - 脚本会自动过滤掉置顶广告,只显示有排名的前 10 条。
Comments
Markdown supported