← 返回
未分类 中文

CatFee Dokobot

Use dokotom (browser automation via real Chrome) to read web pages, extract JS-rendered content, and monitor dynamic data. Use when you need to fetch content...
使用 dokotom(通过真实 Chrome 的浏览器自动化)读取网页、提取 JS渲染的内容并监控动态数据。适用于需要获取内容时。
glory904649854
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 357
下载
💾 0
安装
1
版本
#latest

概述

CatFee Dokobot Skill

Use dokobot to read web pages through a real Chrome browser, enabling JavaScript rendering for dynamic/SPA pages.

Prerequisites

  • dokobot CLI installed globally: npm install -g @dokobot/cli
  • Chrome browser with Dokobot extension installed
  • Local bridge running: dokobot install-bridge (one-time setup)
  • Chrome must be open with the Dokobot extension enabled for --local mode to work

Core Commands

Check Bridge Status

dokobot doko list

Shows connected browsers. If empty, open Chrome with the Dokobot extension.

Read a Web Page (Local Mode - Free)

dokobot read --local "<URL>" --timeout 60000

Reads a page through local Chrome. Wait for --timeout (default 30s) to let JS render.

For dynamic pages (JS-rendered data):

dokobot read --local "<URL>" --timeout 60000

Use --timeout 60000 (60s) for pages with heavy JS loading. For very slow pages, increase to 90000.

To continue a session (for paginated content):

dokobot read "<URL>" --session-id <SESSION_ID> --screens 5

Close a Session

dokobot doko close <SESSION_ID>

Workflow

  1. Check bridge is running: dokobot doko list
  2. If no devices: Open Chrome with Dokobot extension, wait a few seconds, retry
  3. Read page: dokobot read --local "" --timeout 60000
  4. Parse output: Extract the data needed from the markdown output
  5. Present results: Format clearly for the user

Tips

  • Delay for dynamic content: Use --timeout 60000 or higher. Pages like East Money (东方财富) data centers need 45-60 seconds to render.
  • Chrome not responding: If bridge shows device but read fails, close and reopen Chrome
  • Session continuity: For multi-page reading, use --session-id from previous read to continue
  • Headless limitation: If Chrome is closed or the extension is disabled, local mode won't work

Common Sites

SiteURL PatternNotes
--------------------------
东方财富 行情中心https://quote.eastmoney.com/changes盘口异动,60s timeout
东方财富 龙虎榜https://data.eastmoney.com/stock/lhb.html60s timeout
东方财富 个股资金流向https://data.eastmoney.com/zjlx/.htmlCODE = stock code without market prefix
东方财富 数据中心https://data.eastmoney.com/60s timeout

Troubleshooting

ProblemSolution
-------------------
"No available devices"Open Chrome with Dokobot extension enabled
"Bridge not running"Run dokobot install-bridge
Data missing/incompleteIncrease --timeout to 90000
Page shows "not found"URL may have changed; search for correct URL
Read times outUse longer --timeout or try again

Example Workflows

Monitor Stock Changes (Every 30s × 6)

for ($i = 1; $i -le 6; $i++) {
    Write-Host "=== 第${i}次刷新 $(Get-Date -Format 'HH:mm:ss') ==="
    $result = dokobot read --local "<URL>" --timeout 60000 2>&1
    # Parse relevant lines
    if ($i -lt 6) { Start-Sleep -Seconds 30 }
}

Read Dynamic Data Page

dokobot read --local "https://data.eastmoney.com/stock/lhb.html" --timeout 60000

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 15:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Catfee AgentFlow工作流

glory904649854
AgentFlow 工作流管理系统 MCP 技能。触发关键词包括创建项目、添加需求、查看任务、更新状态、项目列表、需求列表、上传附件。用于项目与任务的完整生命周期管理(创建→需求→任务→状态流转),并支持附件上传。
★ 0 📥 414

Catfee Ssh

glory904649854
SSH远程服务器密码连接技能,当用户提供IP、用户名、密码后激活,支持执行命令、查看配置、诊断问题、文件操作等运维操作。
★ 0 📥 390
productivity

云梦A股数据获取Skill

glory904649854
获取A股市场资金流向、新闻、筹码分布、龙虎榜及涨停板等多维度数据,支持单只股票详情查询。
★ 1 📥 1,812