added html as argument as soup requires it

This commit is contained in:
Agnel Vishal 2018-11-22 00:11:14 +05:30 committed by GitHub
parent fa9031ec0e
commit 2bfc65fa65
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ class ContentExtractor(object):
self.stopwords_class = \
self.config.get_stopwords_class(meta_lang)
def get_authors(self, doc):
def get_authors(self,html, doc):
"""Fetch the authors of the article, return as a list
Only works for english articles
"""