How to use the goose3.text.StopWordsChinese function in goose3

To help you get started, we’ve selected a few goose3 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hoxis / to_voice / page2voice.py View on Github external
def get_text(url):
    g = Goose({'stopwords_class': StopWordsChinese})
    article = g.extract(url=url)
    return article.cleaned_text

goose3

Html Content / Article Extractor, web scrapping for Python3

Apache-2.0
Latest version published 10 months ago

Package Health Score

71 / 100
Full package analysis