diff --git a/app/chain/search.py b/app/chain/search.py index c2c4edee..8a026b97 100644 --- a/app/chain/search.py +++ b/app/chain/search.py @@ -221,6 +221,12 @@ class SearchChain(ChainBase): key=ProgressKey.Search) if not torrent.title: continue + + # 匹配订阅附加参数 + if filter_params and not self.torrenthelper.filter_torrent(torrent_info=torrent, + filter_params=filter_params): + continue + # 识别元数据 torrent_meta = MetaInfo(title=torrent.title, subtitle=torrent.description, custom_words=custom_words) @@ -234,11 +240,6 @@ class SearchChain(ChainBase): _match_torrents.append((torrent, torrent_meta)) continue - # 匹配订阅附加参数 - if filter_params and not self.torrenthelper.filter_torrent(torrent_info=torrent, - filter_params=filter_params): - continue - # 比对种子 if self.torrenthelper.match_torrent(mediainfo=mediainfo, torrent_meta=torrent_meta,