diff --git a/newspaper/article.py b/newspaper/article.py index 5fe75d88..bdf567a3 100644 --- a/newspaper/article.py +++ b/newspaper/article.py @@ -269,7 +269,8 @@ def is_valid_body(self): wordcount = self.text.split(' ') sentcount = self.text.split('.') - if meta_type == 'article' and wordcount > (self.config.MIN_WORD_COUNT): + if (meta_type == 'article' and len(wordcount) > + (self.config.MIN_WORD_COUNT)): log.debug('%s verified for article and wc' % self.url) return True