Install
openclaw skills install spiderWeb scraping using Chrome + WebMCP. Primary method for all web crawling tasks.
openclaw skills install spiderThis is the default web scraping method, replacing older approaches like web_fetch.
Use this skill when user says:
| Keywords | Action |
|---|---|
| 抓取 / crawl / scrape / fetch | Use Chrome + WebMCP to scrape web pages |
| 采集 | Same as above |
| 获取...新闻 | Scrape news pages |
| 从...网站 | Specify website to scrape |
| 同花顺 | Scrape Tonghuashun (10jqka) data |
| 东方财富 | Scrape East Money data |
| 雪球 | Scrape Xueqiu data |
| 百度 | Search or scrape Baidu content |
| User Input | Execution |
|---|---|
| "抓取光库科技的新闻" | Open Tonghuashun in Chrome, extract news |
| "抓取宁德时代的股吧" | Open East Money guba in Chrome |
| "从同花顺抓取xxx" | Open Tonghuashun page in Chrome |
| "search xxx" | Open Google search in Chrome |
| "查一下xxx" | Search or scrape in Chrome |
{ action: "status" }
If not running, start it:
{ action: "start" }
{ action: "open", targetUrl: "https://stockpage.10jqka.com.cn/300620/news/", target: "host" }
{ action: "snapshot", targetId: "xxx", maxChars: 20000 }
{ action: "act", targetId: "xxx", request: {"kind": "click", ref: "e33"} }
{ action: "navigate", targetId: "xxx", url: "about:blank" }
URL: https://stockpage.10jqka.com.cn/{stock_code}/news/
Example: https://stockpage.10jqka.com.cn/300620/news/
URL: https://guba.eastmoney.com/list,{stock_code}.html
Example: https://guba.eastmoney.com/list,300620.html
URL: https://xueqiu.com/S/SZ{stock_code}
Example: https://xueqiu.com/S/SZ300620
URL: https://www.baidu.com/s?wd={keyword}&tn=news
chrome://flags/#enable-experimental-web-platform-features → Enabledchrome://flags/#enable-webmcp-testing → Enabledabout:blankabout:blank tabs exist, keep only the latest one, close othersbrowser action: tabs to check current tab statusabout:blank tab remains| Error | Solution |
|---|---|
| Sandbox unavailable | Use target="host" |
| Slow page load | Wait for snapshot to return before操作 |
| Content extraction failed | Use snapshot's maxChars to get more content |
| Anti-scraping blocked | Try other finance sites or wait and retry |
Spider (Chrome + WebMCP) ← Primary method
web_fetch ← Backup method