mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
fix bug
This commit is contained in:
@@ -138,7 +138,7 @@ class TorrentsChain(ChainBase, metaclass=Singleton):
|
|||||||
torrents: List[TorrentInfo] = self.browse(domain=domain)
|
torrents: List[TorrentInfo] = self.browse(domain=domain)
|
||||||
else:
|
else:
|
||||||
# 刷新RSS种子
|
# 刷新RSS种子
|
||||||
torrents: List[TorrentInfo] = self.rss(site=indexer)
|
torrents: List[TorrentInfo] = self.rss(domain=domain)
|
||||||
# 按pubdate降序排列
|
# 按pubdate降序排列
|
||||||
torrents.sort(key=lambda x: x.pubdate or '', reverse=True)
|
torrents.sort(key=lambda x: x.pubdate or '', reverse=True)
|
||||||
# 取前N条
|
# 取前N条
|
||||||
|
|||||||
Reference in New Issue
Block a user