parse the article before returning

This commit is contained in:
Andreas Zweili 2020-10-12 15:16:44 +02:00
parent e214d7ece5
commit 59ede0eccb
1 changed files with 1 additions and 0 deletions

View File

@ -4,4 +4,5 @@ from newspaper import Article
def downloader(url):
article = Article(url)
article.download()
article.parse()
return article