feat 订阅站点单独配置

This commit is contained in:
thsrite
2023-08-28 13:23:56 +08:00
parent 2b462a1b9c
commit 58ded2ef5e
4 changed files with 51 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class TorrentsChain(ChainBase):
# 所有站点索引
indexers = self.siteshelper.get_indexers()
# 配置的索引站点
config_indexers = [str(sid) for sid in self.systemconfig.get(SystemConfigKey.IndexerSites) or []]
# 配置的Rss站点
config_indexers = [str(sid) for sid in self.systemconfig.get(SystemConfigKey.RssSites) or []]
# 遍历站点缓存资源
for indexer in indexers:
# 未开启的站点不搜索