Repository navigation
收藏夹批量写入:加入收藏夹和移出稍后再看一次 10 个 - #469
Merged
Merged
Conversation
PathGao
enabled auto-merge (squash)
November 12, 2026 05:28
PathGao
disabled auto-merge
November 12, 2026 05:29
Merged
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.
恢复收藏、从已出分拣范围收藏到某个夹、从稍后再看移动或复制到收藏夹、从稍后再看取消,原来都是一个视频一个请求。
x/v3/fav/resource/batch-deal,一次 10 个;移出稍后再看用toview/del传逗号分隔的 aid,一次 10 个。页面和 MCP 的分块跟着改成 10 个一块,每块仍是一次请求、全成全败,计数和撤销步骤照旧按块记。加入稍后再看没有批量接口,仍然一个一个。单个视频仍走resource/deal,MCP 撤销逐个加回时能跳过 B站 拒绝的那一个。triageCodeError给 B站 的拒绝带上biliCode,用来认出 -702;triage-refav收aids,消息清单和开发用的模拟后台跟着改。验证:
node scripts/selftest.mjs50 项通过。用真实登录在 B站 页面里跑分支的后台写入代码:建临时收藏夹,收藏 12 个(10 + 2 两次请求)、取消 3 个、一次恢复 3 个、从稍后再看移动 3 个(一次加入 + 一次移出),每步读回核对;最后删掉临时收藏夹,稍后再看和开始前一致。没测:一批 10 个里有已删除视频时 B站 的回答(测了不存在的 aid),分拣台页面里点按钮走完整流程。不带上下文的子 agent 审过 diff,确认的问题已修。