网页正文字体识别与提取算法处理网络正文字体的实践
发布时间
阅读量:
阅读量
Goose安装指南
pip install goose-extractor
pip3 install goose
github:https://github.com/grangier/python-goose
简单实例分析
:python3
Python 3.7.6 (default, Feb 16 2020, 17:48:02)
[Clang 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from goose3 import Goose
>>> from goose3.text import StopWordsChinese
>>> g = Goose({'stopwords_class': StopWordsChinese})
>>> url = ''
>>> print(article.title)
The Serenity Prayer_LU_Z
全部评论 (0)
还没有任何评论哟~
