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):
|
def After(rss, options):
|
||||||
for i, item in enumerate(list(rss.items)):
|
for i, item in enumerate(list(rss.items)):
|
||||||
|
if options.strip:
|
||||||
|
del item.desc
|
||||||
|
del item.content
|
||||||
|
|
||||||
if options.search:
|
if options.search:
|
||||||
if options.search not in item.title:
|
if options.search not in item.title:
|
||||||
item.remove()
|
item.remove()
|
||||||
|
|
Loading…
Reference in New Issue