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.
主要功能:
提高动漫识别准确度,大部分WEB-DL动漫资源会直接采用香港、台湾的译名,若译名差异较大,无法正确从TMDB查询数据,只能通过繁体查询对应作品
主要改动:
origin_cn_name
,用于存放简体化之前的中文标题__init__
方法中的cn_name
修改为origin_cn_name
,最后使用cn_name
存取zhconv.convert(self.origin_cn_name, "zh-hans")
简体化后的标题recognize_media
方法中最后匹配meta.origin_cn_name
测试动漫
[ANi] 學姊是男孩 - 09 [1080P][Baha][WEB-DL][AAC AVC][CHT].mp4
[ANi]我家有個魚乾妹 [01][1080P][Baha][WEB-DL].mp4
[HKGS]滿腦都是○○的我沒辦法談戀愛[01][1080P][WEB-DL].mkv
[ANi]銀河騎士傳[01][1080P][Baha][WEB-DL].mp4