替换 Python3 中的 Goose?
Replacing Goose in Python3?
我已尝试为我的 python/flask 项目安装 Goose-extractor,但它给出了错误消息:
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "Unit tests have failed!")?
Goose 好像不支持Python3,那我可以用什么库代替?
有一个新的 goose 分支 goose3 可以与 python3 一起使用
https://github.com/goose3/goose3
除了 goose 之外,您还可以研究许多其他的提取器 python,例如 html2text(尽管不够高级,不足以进行简单提取)、Lassie、报纸、textract。
我已尝试为我的 python/flask 项目安装 Goose-extractor,但它给出了错误消息:
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(int "Unit tests have failed!")?
Goose 好像不支持Python3,那我可以用什么库代替?
有一个新的 goose 分支 goose3 可以与 python3 一起使用 https://github.com/goose3/goose3
除了 goose 之外,您还可以研究许多其他的提取器 python,例如 html2text(尽管不够高级,不足以进行简单提取)、Lassie、报纸、textract。