mirror of
https://github.com/jackwener/OpenCLI.git
synced 2026-09-14 18:25:42 +08:00
1ecac25df5
- SKILL.md: replace non-existent 'opencli github search' with correct 'opencli gh' external CLI passthrough examples - SKILL.md: remove 'github search' from public API commands list - Add missing docs for douban, sinablog, substack adapters (fixes doc-check CI failure: 47/50 → 50/50) - Add new adapter pages to VitePress sidebar config
37 lines
1.0 KiB
Markdown
37 lines
1.0 KiB
Markdown
# 新浪博客 (Sina Blog)
|
||
|
||
**Mode**: 🌐 Public (search) / 🔐 Browser (hot, article, user) · **Domain**: `blog.sina.com.cn`
|
||
|
||
## Commands
|
||
|
||
| Command | Description |
|
||
|---------|-------------|
|
||
| `opencli sinablog hot` | 获取新浪博客热门文章/推荐 |
|
||
| `opencli sinablog search` | 搜索新浪博客文章(通过新浪搜索,无需浏览器) |
|
||
| `opencli sinablog article` | 获取新浪博客单篇文章详情 |
|
||
| `opencli sinablog user` | 获取新浪博客用户的文章列表 |
|
||
|
||
## Usage Examples
|
||
|
||
```bash
|
||
# 热门文章
|
||
opencli sinablog hot --limit 10
|
||
|
||
# 搜索文章(公开 API,无需浏览器)
|
||
opencli sinablog search "人工智能"
|
||
|
||
# 文章详情
|
||
opencli sinablog article "https://blog.sina.com.cn/s/blog_xxx.html"
|
||
|
||
# 用户文章列表
|
||
opencli sinablog user 1234567890 --limit 10
|
||
|
||
# JSON output
|
||
opencli sinablog hot -f json
|
||
```
|
||
|
||
## Prerequisites
|
||
|
||
- `search` command: No login required (public API)
|
||
- `hot`, `article`, `user` commands: Chrome with `blog.sina.com.cn` accessible, Browser Bridge extension installed
|