Repository navigation
feat(download)!: yt-dlp 下载后端(合并 PR #60,升 3.0.0) - #67
Merged
Merged
Conversation
release: 2.1.0
…-backend # Conflicts: # CLAUDE.md
将 download 收敛为唯一的 yt-dlp 下载后端,移除 Twitch TS 直连与后端选择逻辑。 解决与 dev 的冲突(CLAUDE.md、tests/test_cli.py): - test_cli.py:保留 dev 侧总结图片测试(TestRenderImageParser / TestSummarizeRenderImage)+ PR 侧 yt-dlp 测试(TestDownloadParser),合并 import。 - CLAUDE.md:以 dev 最新两模式分段架构(#64 逐 VAD 窗口 / --full-transcribe) 为准,融入 yt-dlp 后端措辞,删掉已失效的「TS URL 分片编号」约定。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
PR #60 将 download 收敛为唯一的 yt-dlp 下载后端,属破坏性变更: - 移除已发布 CLI 参数 --start / --end / --concurrent / --keep-ts / --mp3 - 删除公共类 TwitchDownloader、公共函数 parse_url_pattern - download_from_url 改签名(异步→同步,参数全变)、产物 key 由 mp4/mp3 变为 audio 按严格 SemVer,对外接口不兼容即升 MAJOR(2.3.0 → 3.0.0), 不看改动量或破坏面大小。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
合并 #60(codex/yt-dlp-download-backend)到 dev,并升版本号至 3.0.0。
将
download收敛为唯一的 yt-dlp 下载后端,移除 Twitch TS 直连与后端选择逻辑:download默认下载最佳音频并提取 MP3,分片并发默认固定为 5--start/--end/--concurrent/--keep-ts/--mp3)--yt-dlp-args与裸--透传 yt-dlp 原生参数pyproject.toml/uv.lock固定版本,按外部工具处理(用户自行pip install -U yt-dlp)版本号:3.0.0(MAJOR)
破坏性变更,按项目严格 SemVer 升 MAJOR:
--start/--end/--concurrent/--keep-ts/--mp3)TwitchDownloader、公共函数parse_url_patterndownload_from_url改签名(异步→同步、参数全变)、产物 key 由mp4/mp3变为audio冲突解决
PR #60 基线较旧(早于 #64 VAD 窗口、#61 总结图片),合并到最新 dev 有冲突:
TestRenderImageParser/TestSummarizeRenderImage+ PR 侧TestDownloadParser,合并 import。--full-transcribe)为准,融入 yt-dlp 后端措辞,删掉已失效的「TS URL 分片编号」约定。验证
ruff check .→ All checks passedpytest -m "not requires_torch"→ 202 passed, 3 deselecteduv lock --check→ 一致(Resolved 123 packages)🤖 Generated with Claude Code