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.
按我的理解,PopularController.keyword是用来检索视频源的关键词,在每次点进番剧卡片时被赋值为番剧名字。但是原本这儿做了个判断,如果是在搜索结果中就直接使用搜索时的关键词。
我把这个判断去掉了,因为他会造成几个问题:
1.每个搜索结果点开,下面的视频源都是一样的
2.在搜索中点开该番剧,与在追番中点开该番剧看到的视频源不同
3.番剧名与下面的视频不匹配
举个例子,搜索“摇曳百合”,下面也会出现“摇曳露营Δ”,点开“摇曳露营Δ”,下面出现的还是摇曳百合相关的视频源

1.5.8 release:
修复后:
