readabilite: threshold to detect if it contains an article

Useful for videos/images-based images
This commit is contained in:
2017-10-28 01:30:21 +02:00
parent 0df6409b0e
commit f563040809
2 changed files with 8 additions and 1 deletions

View File

@@ -245,7 +245,8 @@ def ItemFill(item, options, feedurl='/', fast=False):
out = readabilite.get_article(data, link, options.encoding or crawler.detect_encoding(data, con))
item.content = out
if out is not None:
item.content = out
return True