Make :hungry more useful
parent
446dd9fb3f
commit
76c4211a04
|
@ -385,7 +385,7 @@ def Fill(item, cache, options, feedurl='/', fast=False):
|
||||||
|
|
||||||
out = readability.Document(data, url=con.url).summary(True)
|
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)
|
item.push_content(out)
|
||||||
cache.set(link, out)
|
cache.set(link, out)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue