接入微信视频号(wechat_channels)转录支持 - #66
Merged
Merged
Conversation
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-181636-fe8dd0 Task-Id: VideoTranscriptAPI-20260902-01
Agent-Executor: agy Agent-Model: gemini-3.7-flash-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-183804-7eb055 Task-Id: VideoTranscriptAPI-20260902-01
Co-authored-by: Cursor <cursoragent@cursor.com> Agent-Executor: cursor Agent-Model: cursor-grok-4.6-high Agent-Effort: unknown Dispatch-Id: dlg-20260901-185312-a93097 Task-Id: VideoTranscriptAPI-20260902-03
|
diff-coverage: no coverage data |
Required Gate v2 — 状态面板当前状态:pass · 可合并 当前裁决:
Gate 历史(v1;来源为持久化
|
| Run | Attempt | Head | 状态 | 收件人动作 |
|---|---|---|---|---|
| 33548134819 | 1 | 460ba53 |
pass |
可合并 |
历史行按 run_id + run_attempt 去重并只增不删;删除本评论后可由 gate_terminal 制品重建。
⚙️ Review ledger state(机器状态记录,非评审结论)
机器状态明细
完整数据保存在 |
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.
范围
新增微信视频号链接(
https://weixin.qq.com/sph/<sph_code>)转录支持,复用 MediaResolverAPI 集成路径(与抖音/小红书共用MediaResolverDownloader):url_parser.py:PATTERNS与extract_platform新增wechat_channels(sph 链接非跳转短链,不进 SHORT_URL_DOMAINS)media_resolver.py:_SUPPORTED_DOMAINS加weixin.qq.com;新增_prepare_download_headers——仅当下载 URL 的 netloc 与media_resolver.base_url一致时携带X-API-Key(视频号流式端点需要鉴权;第三方 CDN 直链不带,防密钥外泄),403 force_refresh 重下路径同样生效sw.js缓存版本 v4→v5docs/guides/media_resolver.md扩为抖音/小红书/视频号,README 同步配置触点
不新增配置项。启用前提(文档已写明):
downloaders.use_media_resolver=true,且 resolver 主机须在security.download_url_allowlist。视频号无原生下载器兜底,flag off 时链接落 GenericDownloader 失败属预期。验证证据
uv run pytest tests/unit -q全量绿(exit=0,base 与分支头各跑一遍)docs/sessions/260902-wechat-channels/reviews/01-wechat-channels-verdict.md后续动作
config.jsonc设downloaders.use_media_resolver=true并把 resolver 主机加入security.download_url_allowlist,重启服务Task-Id: VideoTranscriptAPI-20260902-01