From 5ece44090e0f5473c637c3b0f6b7567256129d23 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Fri, 15 Sep 2023 15:38:30 +0800 Subject: [PATCH] fix --- app/chain/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/chain/search.py b/app/chain/search.py index 1fc80efb..3562b2e0 100644 --- a/app/chain/search.py +++ b/app/chain/search.py @@ -196,8 +196,8 @@ class SearchChain(ChainBase): continue # 在副标题中判断是否存在标题与原语种标题 if torrent.description: - if mediainfo.title in torrent.description \ - or mediainfo.original_title in torrent.description: + if str(mediainfo.title) in torrent.description \ + or str(mediainfo.original_title) in torrent.description: logger.info(f'{mediainfo.title} 通过副标题匹配到资源:{torrent.site_name} - {torrent.title},' f'副标题:{torrent.description}') _match_torrents.append(torrent)