Conversation
- 在收藏列表接口中返回 `favoriteSupported` 字段,根据部署平台及 Redis 配置动态判断 - 前端根据 `favoriteSupported` 禁用“收藏”按钮,并显示配置 Redis 的提示信息 - 更新 README 说明 serverless 平台需配置 Upstash Redis 才能启用收藏功能 - 避免无持久化存储的实例在冷启动或实例切换后丢失收藏数据导致用户误操作
- 新增 isMovieMatchCandidate、getMatchEpisodeCount 和 isSingleEpisodeMatchCandidate 函数,用于准确识别电影及单集候选。 - 在 matchAniAndEpByAi 中,若 AI 选中单集候选而存在多集电视剧候选,则回退到常规季集匹配,避免同名电影错误命中 S01E01。 - 在常规匹配循环中,跳过单集候选参与有季集参数的匹配,并调整评分逻辑,对多集候选加分、单集候选减分,提升多集电视剧优先级。 - 优化 break 条件,避免单集候选提前终止搜索,确保多集候选能被充分比较。
- 新增parseWebSearchResults和parseWebSeriesDetail函数,从HTML响应中提取JSON数据 - search方法优先请求Web端/search页面,解析搜索结果列表 - getEpisodes方法优先请求Web端/detail页面,解析剧集列表 - 当Web请求失败时回退至原有API方式,提升数据获取的稳定性
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
danmu-api | 78f1be1 | Commit Preview URL Branch Preview URL |
Aug 21 2026, 04:15 PM |
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.
No description provided.