Add :strip to remove desc and content
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…
Reference in New Issue