fix 年份匹配

This commit is contained in:
jxxghp
2023-06-11 18:42:23 +08:00
parent 1b64ff0469
commit db4b9fcef8
4 changed files with 31 additions and 5 deletions

View File

@ -105,7 +105,9 @@ class UserMessageChain(ChainBase):
no_exists=no_exists)
if not contexts:
# 没有数据
self.post_message(title=f"{mediainfo.title} 未搜索到资源!", userid=userid)
self.post_message(title=f"{mediainfo.title}"
f"{self._current_meta.get_season_string()} 未搜索到资源!",
userid=userid)
return
# 搜索结果排序
contexts = TorrentHelper.sort_torrents(contexts)