bb-browser sites — The web as CLI
36 platforms, 103 commands. One-liner structured data from any website using your login state.
All commands use --openclaw to run through OpenClaw's browser. No Chrome extension or daemon needed.
Quick Start
CODEBLOCK0
IMPORTANT: Always use --openclaw
Every bb-browser site command MUST include --openclaw to use OpenClaw's browser:
CODEBLOCK1
Data Extraction (most common use)
CODEBLOCK2
Filtering with --jq
Use --jq to extract specific fields (no need for --json, it's implied):
CODEBLOCK3
View adapter details
CODEBLOCK4
Login State
Adapters run inside OpenClaw's browser tabs. If a site requires login:
- 1. The adapter will return an error like INLINECODE5
- Log in to the site in OpenClaw's browser:
openclaw browser open https://twitter.com
- 3. Complete login manually in the browser window
- Retry the command
Creating New Adapters
Turn any website into a CLI command:
CODEBLOCK6
All 36 Platforms
| Category | Platforms |
|---|
| Search | Google, Baidu, Bing, DuckDuckGo, Sogou WeChat |
| Social |
Twitter/X, Reddit, Weibo, Xiaohongshu, Jike, LinkedIn, Hupu |
| News | BBC, Reuters, 36kr, Toutiao, Eastmoney |
| Dev | GitHub, StackOverflow, HackerNews, CSDN, cnblogs, V2EX, Dev.to, npm, PyPI, arXiv |
| Video | YouTube, Bilibili |
| Entertainment | Douban, IMDb, Genius, Qidian |
| Finance | Xueqiu, Eastmoney, Yahoo Finance |
| Jobs | BOSS Zhipin, LinkedIn |
| Knowledge | Wikipedia, Zhihu, Open Library |
| Shopping | SMZDM |
| Tools | Youdao, GSMArena, Product Hunt, Ctrip |
bb-browser sites — 将网页变成命令行
36个平台,103条命令。利用你的登录状态,从任意网站获取一行式结构化数据。
所有命令均使用 --openclaw 通过 OpenClaw 的浏览器运行。无需 Chrome 扩展或守护进程。
快速开始
bash
首次使用:拉取社区适配器
bb-browser site update
查看可用内容
bb-browser site list
查看哪些适配器符合你的浏览习惯
bb-browser site recommend
通过 OpenClaw 的浏览器运行任意适配器
bb-browser site reddit/hot --openclaw
bb-browser site hackernews/top 5 --openclaw
bb-browser site v2ex/hot --openclaw
重要提示:始终使用 --openclaw
每个 bb-browser site 命令必须包含 --openclaw 才能使用 OpenClaw 的浏览器:
bash
正确
bb-browser site twitter/search AI agent --openclaw
bb-browser site zhihu/hot 10 --openclaw --json
bb-browser site xueqiu/hot-stock 5 --openclaw --jq .items[] | {name, changePercent}
错误(需要单独的 Chrome 扩展)
bb-browser site twitter/search AI agent
数据提取(最常见用途)
bash
社交媒体
bb-browser site twitter/search OpenClaw --openclaw
bb-browser site twitter/thread
--openclaw
bb-browser site reddit/thread --openclaw
bb-browser site weibo/hot --openclaw
bb-browser site xiaohongshu/search query --openclaw
开发者
bb-browser site github/repo owner/repo --openclaw
bb-browser site github/issues owner/repo --openclaw
bb-browser site hackernews/top 10 --openclaw
bb-browser site stackoverflow/search async await --openclaw
bb-browser site arxiv/search transformer --openclaw
金融
bb-browser site xueqiu/stock SH600519 --openclaw
bb-browser site xueqiu/hot-stock 5 --openclaw
bb-browser site eastmoney/stock 茅台 --openclaw
新闻与知识
bb-browser site zhihu/hot --openclaw
bb-browser site 36kr/newsflash --openclaw
bb-browser site wikipedia/summary Python --openclaw
视频
bb-browser site youtube/transcript VIDEO_ID --openclaw
bb-browser site bilibili/search query --openclaw
使用 --jq 进行过滤
使用 --jq 提取特定字段(无需 --json,已隐含):
bash
仅股票名称
bb-browser site xueqiu/hot-stock 5 --openclaw --jq .items[].name
特定字段作为对象
bb-browser site xueqiu/hot-stock 5 --openclaw --jq .items[] | {name, changePercent, heat}
过滤结果
bb-browser site reddit/hot --openclaw --jq .posts[] | {title, score}
查看适配器详情
bash
查看适配器接受的参数
bb-browser site info xueqiu/stock
按关键词搜索适配器
bb-browser site search reddit
登录状态
适配器在 OpenClaw 的浏览器标签页内运行。如果某个网站需要登录:
- 1. 适配器将返回类似 {error: HTTP 401, hint: Not logged in?} 的错误
- 在 OpenClaw 的浏览器中登录该网站:
bash
openclaw browser open https://twitter.com
- 3. 在浏览器窗口中手动完成登录
- 重新运行命令
创建新适配器
将任意网站变成 CLI 命令:
bash
阅读指南
bb-browser guide
或者直接告诉我:把 notion.so 变成 bb-browser 适配器
我会逆向工程 API,编写适配器,测试并提交 PR。
全部 36 个平台
| 分类 | 平台 |
|---|
| 搜索 | Google, Baidu, Bing, DuckDuckGo, Sogou WeChat |
| 社交 |
Twitter/X, Reddit, Weibo, Xiaohongshu, Jike, LinkedIn, Hupu |
| 新闻 | BBC, Reuters, 36kr, Toutiao, Eastmoney |
| 开发 | GitHub, StackOverflow, HackerNews, CSDN, cnblogs, V2EX, Dev.to, npm, PyPI, arXiv |
| 视频 | YouTube, Bilibili |
| 娱乐 | Douban, IMDb, Genius, Qidian |
| 金融 | Xueqiu, Eastmoney, Yahoo Finance |
| 招聘 | BOSS Zhipin, LinkedIn |
| 知识 | Wikipedia, Zhihu, Open Library |
| 购物 | SMZDM |
| 工具 | Youdao, GSMArena, Product Hunt, Ctrip |