From 0f190057d32172e5519fa3eccaa06ffa1c7c89c1 Mon Sep 17 00:00:00 2001 From: PKC278 <52959804+PKC278@users.noreply.github.com> Date: Mon, 27 Apr 2026 10:51:20 +0800 Subject: [PATCH] fix #5528 --- 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 fd254302..622d619b 100644 --- a/app/chain/search.py +++ b/app/chain/search.py @@ -567,7 +567,7 @@ class SearchChain(ChainBase): ) search_count += 1 # 有结果则停止 - if torrents: + if not settings.SEARCH_MULTIPLE_NAME and torrents: logger.info(f"共搜索到 {len(torrents)} 个资源,停止搜索") break @@ -654,7 +654,7 @@ class SearchChain(ChainBase): } search_count += 1 - if torrents: + if not settings.SEARCH_MULTIPLE_NAME and torrents: logger.info(f"共搜索到 {len(torrents)} 个资源,停止搜索") break