mirror of
https://github.com/codelucas/newspaper.git
synced 2025-12-23 05:36:50 +00:00
added html as argument as soup requires it
This commit is contained in:
parent
fa9031ec0e
commit
2bfc65fa65
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue