This commit is contained in:
jxxghp 2023-09-15 15:38:30 +08:00
parent 01be4f9549
commit 5ece44090e

View File

@ -196,8 +196,8 @@ class SearchChain(ChainBase):
continue continue
# 在副标题中判断是否存在标题与原语种标题 # 在副标题中判断是否存在标题与原语种标题
if torrent.description: if torrent.description:
if mediainfo.title in torrent.description \ if str(mediainfo.title) in torrent.description \
or mediainfo.original_title in torrent.description: or str(mediainfo.original_title) in torrent.description:
logger.info(f'{mediainfo.title} 通过副标题匹配到资源:{torrent.site_name} - {torrent.title}' logger.info(f'{mediainfo.title} 通过副标题匹配到资源:{torrent.site_name} - {torrent.title}'
f'副标题:{torrent.description}') f'副标题:{torrent.description}')
_match_torrents.append(torrent) _match_torrents.append(torrent)