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):
|
def downloader(url):
|
||||||
article = Article(url)
|
article = Article(url)
|
||||||
article.download()
|
article.download()
|
||||||
|
article.parse()
|
||||||
return article
|
return article
|
||||||
|
|
Loading…
Reference in New Issue