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