Add :strip to remove desc and content
This commit is contained in:
parent
1a8ee716f3
commit
ecfda1d05a
@ -670,6 +670,10 @@ def Gather(rss, url, cache, options):
|
||||
|
||||
def After(rss, options):
|
||||
for i, item in enumerate(list(rss.items)):
|
||||
if options.strip:
|
||||
del item.desc
|
||||
del item.content
|
||||
|
||||
if options.search:
|
||||
if options.search not in item.title:
|
||||
item.remove()
|
||||
|
Loading…
x
Reference in New Issue
Block a user