From edcec114ae2bfa2def40d50382024a5c99721b78 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 11 Sep 2023 19:54:38 +0800 Subject: [PATCH] fix bug --- app/chain/torrents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/chain/torrents.py b/app/chain/torrents.py index 77150dce..22f95ac7 100644 --- a/app/chain/torrents.py +++ b/app/chain/torrents.py @@ -138,7 +138,7 @@ class TorrentsChain(ChainBase, metaclass=Singleton): torrents: List[TorrentInfo] = self.browse(domain=domain) else: # 刷新RSS种子 - torrents: List[TorrentInfo] = self.rss(site=indexer) + torrents: List[TorrentInfo] = self.rss(domain=domain) # 按pubdate降序排列 torrents.sort(key=lambda x: x.pubdate or '', reverse=True) # 取前N条