fix 种子去重
This commit is contained in:
parent
f1f8ccb5d6
commit
ef0c88a3b6
@ -61,7 +61,7 @@ class IndexerModule(_ModuleBase):
|
|||||||
if not settings.SEARCH_MULTIPLE_NAME:
|
if not settings.SEARCH_MULTIPLE_NAME:
|
||||||
return _torrents
|
return _torrents
|
||||||
# 通过encosure去重
|
# 通过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:
|
if not keywords:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user