parse the article before returning
This commit is contained in:
parent
e214d7ece5
commit
59ede0eccb
|
@ -4,4 +4,5 @@ from newspaper import Article
|
|||
def downloader(url):
|
||||
article = Article(url)
|
||||
article.download()
|
||||
article.parse()
|
||||
return article
|
||||
|
|
Loading…
Reference in New Issue