feat RSS增加过滤规则开关
This commit is contained in:
parent
c7a5c5f55e
commit
153d22d73e
@ -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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user