← 返回
效率工具 中文

Doubao Capture

Capture Doubao translation results with auto-scroll and auto-end detection.
抓取豆包翻译结果,支持自动滚动与自动结束检测。
banner90
效率工具 clawhub v1.0.6 1 版本 99866.8 Key: 无需
★ 0
Stars
📥 750
下载
💾 92
安装
1
版本
#latest

概述

Doubao Capture

Usage

python scripts/capture_doubao_scroll_v2.py --hwnd <window_handle> --output-dir <dir> --stop-auto --json-output

Parameters

  • window_handle (required): HWND from doubao-launch
  • output_dir (optional): Output directory, default: "works/translations"
  • stop_auto (optional): Auto-detect end, default: true
  • no_new_threshold (optional): Consecutive empty reads threshold, default: 5

Returns

{
  "success": true,
  "text_file_path": "H:/works/translations/doubao_20240307_143022.txt",
  "line_count": 156,
  "char_count": 3847,
  "stopped_by": "auto_detect"
}

Tools

capture_translation

Capture translated subtitles from Doubao

Workflow Integration

This skill is part of the YouTube translation workflow:

  1. youtube-audio-download: Download audio from YouTube
  2. doubao-launch: Launch Doubao translation window
  3. audio-play: Play the downloaded audio
  4. doubao-capture: Capture translated subtitles

Execution

All skills execute on Windows Python via WSL cross-platform call:

wsl -> python.exe scripts/capture_doubao_scroll_v2.py ...

Error Handling

All skills return JSON with success field:

  • success: true - Operation completed
  • success: false - Check error_code and error_message

Notes

  • Windows GUI automation requires visible desktop (no RDP disconnect)
  • Output files are stored in Windows works/ directory
  • WSL accesses Windows files via /mnt/h/...

版本历史

共 1 个版本

  • v1.0.6 当前
    2026-03-29 14:03 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Nano Pdf

steipete
使用nano-pdf CLI通过自然语言指令编辑PDF
★ 275 📥 114,910
content-creation

Youtube Audio Download

banner90
下载 YouTube 视频音频并转为 MP3,支持使用 Cookie 下载年龄限制视频。
★ 1 📥 1,003
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 446 📥 226,391