feat RSS增加过滤规则开关

This commit is contained in:
jxxghp 2023-08-12 18:42:29 +08:00
parent c7a5c5f55e
commit 153d22d73e

View File

@ -186,6 +186,7 @@ class RssChain(ChainBase):
pubdate=time.strftime("%Y-%m-%d %H:%M:%S", item.get("pubdate")) if item.get("pubdate") else None, pubdate=time.strftime("%Y-%m-%d %H:%M:%S", item.get("pubdate")) if item.get("pubdate") else None,
) )
# 过滤种子 # 过滤种子
if rss_task.filter:
result = self.filter_torrents( result = self.filter_torrents(
rule_string=filter_rule, rule_string=filter_rule,
torrent_list=[torrentinfo] torrent_list=[torrentinfo]