返回顶部
q

quark-subtitle-rescue

Bulk add subtitles to Quark movie folders with high success and low wrong-match risk. Best for "all subfolders" jobs, interrupted runs, and retrying failed titles with multi-source fallback (OpenSubtitles/SubHD/YIFY), strict matching, rollback safety, and completion reporting.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.1
安全检测
已通过
70
下载量
0
收藏
概述
安装方式
版本历史

quark-subtitle-rescue

# Quark Subtitle Rescue High-success, low-risk workflow for Quark 网盘字幕批处理。 ## What this skill solves - One-click style recovery for: “给电影文件夹所有子目录补字幕” - Resume from partial progress after interruptions/429/timeout - Reduce bad matches via strict retries and staged fallback - Keep an auditable trail: progress, failures, and final completion report ## Use this skill when - User asks for **batch subtitles across many Quark subfolders** - Previous run is partially done and needs **rescue/retry** - Need to switch subtitle providers for better hit rate - Need safe rollback/checks after suspected wrong matches ## Don’t use this skill when - User only needs subtitle for a **single local file** - There is no valid Quark login/cookie context ## Quick Start 1. Confirm tool root exists: `quark_subtitle_tool/`. 2. Ensure config exists: `~/.config/quark_subtitle.json` with valid `cookie`. 3. Activate venv: `source quark_subtitle_tool/venv/bin/activate`. 4. Run staged workflow (below), do not jump directly to aggressive retries. ### Minimal inputs expected - Quark target path (example: `全部文件/来自:分享/电影`) - Subtitle preference (default: bilingual zh+en) - Whether to allow Chinese-only fallback when bilingual is unavailable ## Staged Workflow ### Stage 1 — Baseline batch run Run: ```bash python quark_subtitle_tool/batch_subtitle_runner.py ``` Check output: - `quark_subtitle_tool/quark_work/batch_progress.json` - `quark_subtitle_tool/quark_work/batch_failures.jsonl` ### Stage 2 — Strict retry on failures Run strict retry (avoid broad fuzzy terms like director names): ```bash python quark_subtitle_tool/strict_top10_retry.py python quark_subtitle_tool/strict_remaining_retry.py ``` Rule: prioritize `title + year`; avoid generic query terms. ### Stage 3 — Folder-specific rescue If one folder remains stubborn, run dedicated script for that folder with filename-derived queries (example scripts in `quark_subtitle_tool/*_retry.py`). ### Stage 4 — Final two/small-tail manual precision For 1–5 leftovers, use explicit aliases (English original title + year), then run a targeted retry script. ## Provider Order and Matching Policy Default order: 1. OpenSubtitles 2. SubHD (射手系) 3. YIFY 4. Legacy providers (podnapisi/subtis/tvsubtitles) Policy: - If provider N hits, stop and do not query lower-priority providers. - **Default success target: bilingual (zh+en)**. If bilingual is unavailable, fall back to Chinese-only only when user allows it. - Treat “search page hit” and “download hit” separately; only download hit counts as success. ## Safety Guardrails (Mandatory) 1. Never use broad person-name queries (e.g., director name) for batch upload. 2. If many files suddenly “succeed” with same query, run hash-based spot check before declaring success. 3. If wrong-match batch is found, rollback before continuing. 4. Produce a clear report: total / success / failed / pending folders. Use helper: ```bash python skills/quark-subtitle-rescue/scripts/report_progress.py ``` ## Troubleshooting Read `references/troubleshooting.md` when you see: - OpenSubtitlesCom Bad Request - dogpile RegionNotConfigured - 429 rate limits - folder enter failures due to special chars - delete/rollback auth failures ## Resources - `scripts/report_progress.py`: summarize completion from generated JSON reports. - `references/workflow.md`: reusable decision flow for batch rescue. - `references/troubleshooting.md`: common failures and mitigations.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 quark-subtitle-rescue-1776020054 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 quark-subtitle-rescue-1776020054 技能

通过命令行安装

skillhub install quark-subtitle-rescue-1776020054

下载 Zip 包

⬇ 下载 quark-subtitle-rescue v0.1.1

文件大小: 4.6 KB | 发布时间: 2026-4-13 11:42

v0.1.1 最新 2026-4-13 11:42
Optimize marketplace description for clearer value proposition and trigger scenarios; add expected inputs; switch default success target to bilingual subtitles (zh+en) with optional Chinese-only fallback.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部