From ef0c88a3b6786ee8e9cc00445c21abb81a237bf9 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Wed, 27 Mar 2024 11:37:51 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E7=A7=8D=E5=AD=90=E5=8E=BB=E9=87=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/modules/indexer/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/indexer/__init__.py b/app/modules/indexer/__init__.py index 152491ba..b96a48d5 100644 --- a/app/modules/indexer/__init__.py +++ b/app/modules/indexer/__init__.py @@ -61,7 +61,7 @@ class IndexerModule(_ModuleBase): if not settings.SEARCH_MULTIPLE_NAME: return _torrents # 通过encosure去重 - return list({t.enclosure: t for t in _torrents}.values()) + return list({f"{t.title}_{t.description}": t for t in _torrents}.values()) # 确认搜索的名字 if not keywords: