codelucas/newspaper

newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs:

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 31 minutes ago
Added to GitGenius on September 3rd, 2026
Created on November 25th, 2013
Open Issues & Pull Requests: 514 (+0)
GitHub issues: Enabled
Number of forks: 2,118
Total Stargazers: 15,150 (+0)
Total Subscribers: 375 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 76.4 days
Mean response time: 373.7 days
90th percentile: 1238.2 days
Tracked items: 10

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 16
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 582 days
Stale 30+ days: 15
Stale 90+ days: 14

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Newspaper3k is a Python library for extracting article text, metadata, and images from web pages.

The tool solves the problem of reliably extracting article content from news websites, which often contain navigation, advertisements, and other noise alongside the actual article text. It downloads HTML from a given URL, parses the content using lxml for performance, and extracts the article body, authors, publication date, top image, and embedded videos. The library also includes natural language processing capabilities to generate keyword lists and summaries from the extracted text. It can work with individual articles or build a collection by crawling an entire news site to discover article URLs and category pages.

Newspaper3k suits projects that need to aggregate news content, monitor specific publications, or build datasets from article text. It handles multiple languages with automatic detection or explicit specification. The tool is designed for simplicity in its API, drawing inspiration from the requests library. Anyone building a news aggregator, content monitoring system, or article analysis pipeline would find this library applicable. The README does not compare it to alternative libraries, so no comparative guidance can be offered.

The project maintains active development with regular updates and bug fixes applied to the codebase. The tool has established test coverage tracked through continuous integration. Documentation is available beyond the README through an advanced docs link provided in the repository.