From 76c4211a04e3e739c917869f01a51f3d86e249ab Mon Sep 17 00:00:00 2001 From: pictuga Date: Sat, 21 Feb 2015 01:55:25 +0800 Subject: [PATCH] Make :hungry more useful --- morss/morss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morss/morss.py b/morss/morss.py index f0f4698..a28908d 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -385,7 +385,7 @@ def Fill(item, cache, options, feedurl='/', fast=False): out = readability.Document(data, url=con.url).summary(True) - if count_words(out) > max(count_content, count_desc) > 0: + if options.hungry or count_words(out) > max(count_content, count_desc) > 0: item.push_content(out) cache.set(link, out) else: