qmetrics.net

Newspaper

Python library for news article extraction and curation

Newspaper screenshot

Newspaper3k downloads news pages and extracts article text, metadata, images, and summaries. It targets Python 3 and supports many languages with optional NLP helpers.

Overview

Newspaper3k is a Python library for pulling full text and metadata from news URLs. You can download a single article, parse authors and publish dates, extract the main body text, and identify top or embedded images.

For whole sites you can build a source object that discovers category URLs and article links, then download and parse each story. A fulltext helper strips article text from arbitrary HTML when you already fetched the page. Optional NLP steps can derive keywords and short summaries from parsed text.

Language handling includes auto-detection when none is set, plus explicit language codes for multilingual sources. The stack relies on lxml for parsing speed and is designed to work alongside HTTP clients such as requests.

Install on Python 3 via the newspaper3k package name. Debian, Ubuntu, and macOS notes in the docs call out system libraries for lxml, JPEG, and NLP corpora when packaging dependencies locally.

Key features

  • Article download and HTML parse
  • Author and date extraction
  • Top and inline image detection
  • Keyword and summary NLP
  • Multi-threaded article fetching
  • News site URL discovery
  • Ten-plus language support
  • Standalone fulltext from HTML

Use cases

  • Curate articles from news sites
  • Build news monitoring pipelines
  • Extract text for search indexes
  • Aggregate headlines across publishers

Tags

Similar software

Firecrawl

Web scrape crawl and search infrastructure for AI agents

Firecrawl turns websites into LLM-ready markdown and structured data via API, CLI, and MCP. It supports scrape, crawl, map, batch jobs, optional cloud scale, and self-hosted server deployment.

★ 211.5k⟳ todayAGPL-3.0
Open Source Alternative to:TavilyZyte

Sherlock Project

Username search across many social networks

Sherlock checks a username against hundreds of social sites and writes matches to per-user text files. It runs from the command line, with Docker and community packages on several Linux distributions.

★ 118.5k⟳ 26 days agoMIT

Agent Reach

CLI toolkit for AI agents to search and read many web platforms

Agent Reach installs platform connectors so AI agents can search and read sites such as GitHub, YouTube, Reddit, Bilibili, and Xiaohongshu from one command line, without relying on paid APIs for default channels.

★ 115.3k⟳ 3 days agoMIT

Scrapling

Python framework for fetching and crawling the web

Scrapling combines HTTP and browser fetchers, parsing, concurrent spiders, exports, and an MCP server for AI agents. It targets static pages, JavaScript sites, stealthy sessions, and full-site crawls from one library.

★ 106.3k⟳ 3 days agoBSD-3-Clause

Puppeteer

JavaScript library for automating Chrome and Firefox

Puppeteer exposes a high-level JavaScript API to drive Chrome or Firefox through the DevTools Protocol or WebDriver BiDi. It defaults to headless browser control for scripts and tests.

★ 95.9k⟳ yesterdayApache-2.0

PaddleOCR

OCR toolkit for documents and scene text

PaddleOCR parses PDFs and images into structured Markdown or JSON with multilingual text and layout models.

★ 93.4k⟳ 2 months agoApache-2.0