weibo_search
Search Weibo posts by keyword using authenticated cookies to access the mobile API.
Instructions
搜索微博帖子。需要登录 cookies(SUB token)。
⚠️ 微博搜索 API 需要登录 — 游客模式不可用。 热搜(weibo_hot_list)无需登录即可使用。
原理: 调用 m.weibo.cn 移动端 API,解析 cards[].mblog。 Cookie 文件: ~/.cn-scraper-cookies/weibo.json(需要 SUB cookie)
并发安全: ✅ 纯 HTTP/REST API,无共享状态,任意并发调用安全。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数上限 (默认 10) | |
| keyword | Yes | 搜索关键词,如 "华为" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||