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


上一篇:
下一篇:
切换中文