Newspaper4k Python Article Extraction and NLP Library

Newspaper4k is an actively maintained fork of the popular Newspaper3k library for Python. It extracts articles, titles, images, authors, and metadata from news websites, with built-in NLP for keyword extraction and text summarization.

agentskillexchange Updated 28 repo stars

File contents

Newspaper4k Python Article Extraction and NLP Library

Newspaper4k is an actively maintained fork of the popular Newspaper3k library for Python. It extracts articles, titles, images, authors, and metadata from news websites, with built-in NLP for keyword extraction and text summarization.

Installation

Use the upstream install or setup path that matches your environment:

  • pip install newspaper4k
  • pip install newspaper4k[gnews]
  • brew install libxml2 libxslt
  • brew install libtiff libjpeg webp little-cms2

Requirements and caveats from upstream:

Basic usage or getting-started notes:

Source

agentskillexchange/skills/tree/main/skills/newspaper4k-python-article-extraction-nlp commit d8933f0f09

Frequently asked questions

npx skillmds@latest add agentskillexchange/newspaper4k-python-article-extraction-and-nlp-library