Repository navigation
修复 JAVGG 首页与分类 HTTP 超时后的列表读取 - #16
Merged
Merged
Conversation
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.
用户在 iPhone DreamBy 中打开 JAVGG 时,首页和分类只显示站点 Logo 的失败卡,报
stage=http-timeout。1.0.3 为列表请求增加 6 秒 HTTP 截止时间(包含正文读取),失败、验证页或不完整列表时最多一次 12 秒隐藏网页 HTML 回退;成功时返回真实影片,失败时返回明确错误和空列表,避免把错误提示当作影片。兼容异步和嵌套正文,保留原翻页、详情动作,并为真实热门影片补充排名。保留
javgg-mini-library.js原地址、库 ID 和参数。详情及播放相关 19 个函数逐字保持恢复版;其他九个已恢复入口仍与任务前快照一致。恢复记录保留 JAVGG 原快照及此次用户要求的替代版本,没有重新引入之前的播放修复。验证:
http-timeout后,通过真实浏览器首页 HTML 完成一次回退,返回 18 个首页影片和 5 个轮播条目。限制:两个热门分类当前原站请求和后续网页导航仍有超时;此次改动不能保证这些源页面始终可用。桌面检查不等于 DreamBy iPhone 结果,网页 HTML 回传与实际列表显示仍待用户更新测试。