pip install newspaper3k
python
import newspaper
from newspaper import Article
python
url = "https://example.com/article"
article = Article(url)
python
article.download()
article.parse()
python
title = article.title
authors = article.authors
publish_date = article.publish_date
text = article.text
top_image = article.top_image
python
summary = article.summary