shell
pip install newspaper3k
python
import newspaper
source = newspaper.build("https://example.com", language="zh")
for article in source.articles:
article.download()
article.parse()
title = article.title
text = article.text
print("------------------------")