adbar/trafilatura

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 2 minutes ago
Added to GitGenius on September 9th, 2026
Created on April 8th, 2019
Open Issues & Pull Requests: 58 (+0)
GitHub issues: Enabled
Number of forks: 428
Total Stargazers: 6,801 (+0)
Total Subscribers: 35 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.1 days
Mean response time: 62.8 days
90th percentile: 152.0 days
Tracked items: 127

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 80% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Work labelled "question" is answered fastest, typically in about 35 hours, while "maintenance" waits about 4 weeks. Only 12% of issues opened in the past year have been closed. Three people close 97% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 20
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 676 days
Stale 30+ days: 17
Stale 90+ days: 15

Recent activity

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

Top labels

  • bug (59)
  • question (17)
  • enhancement (16)
  • maintenance (12)
  • documentation (9)
  • feedback (6)
  • evaluation (3)
  • good first issue (1)

Detailed Description

Trafilatura is a Python package and command-line tool for gathering text and metadata from the web through crawling, scraping, and extraction into structured formats.

The tool addresses the challenge of converting raw HTML into meaningful, noise-free content. It combines web discovery capabilities including sitemap and feed support with a robust extraction engine that isolates main text while filtering out boilerplate elements like headers and footers. The extraction process balances precision against recall, and the tool supports parallel processing of both live URLs and previously downloaded HTML files. Output can be converted to multiple formats including plain text, Markdown, CSV, JSON, HTML, and XML-TEI.

Trafilatura suits projects that need to build text corpora from web sources at scale without requiring a database backend. It works well for news aggregation, content mining, and preparing training data for language models. The tool is particularly valuable for teams prioritizing extraction accuracy, as it consistently outperforms other open-source libraries in published benchmarks across multiple evaluation frameworks.

The project maintains steady activity with regular updates addressing both bug fixes and feature enhancements. Development includes ongoing refinement of the extraction algorithms and expansion of output format support. The maintainers actively respond to issues and incorporate community feedback into the tool's evolution.