Add :strip to remove desc and content

master
pictuga 2014-11-06 21:14:20 +01:00
parent 1a8ee716f3
commit ecfda1d05a
1 changed files with 4 additions and 0 deletions

View File

@ -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()