Match the project to your task before installing it.
Software Development & Delivery · Public
trafilatura
Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
Check whether this project matches your task before installing it.
What it can doskill, recipe, host_instruction, eval, preflightReview the portable capability path.
Before continuingVerify in a sandboxDo not treat a preview pack as a proven local install.
GitHub snapshot6.1k stars387 forks · 63 contributors
Doramagic.ai Last verification date: 2026-06-22 Verification method: source evidence, semantic profile, public page gate, and static build acceptance.
Publication status · 2026-06-22
What is trafilatura?
- Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
- Best fit: Users who want source-backed project understanding before installing it.
- Not for: Not for users who want to skip sandbox verification or cannot accept configuration, permission, or maintenance overhead.
- Capability added to an AI workflow: skill, recipe, host_instruction, eval, preflight
- First safe verification step: Verify the smallest path in an isolated environment and keep a rollback path.
- Verification state: source, Quick Start, and sandbox install checks are recorded as passed.
- Top risk: May increase setup, validation, or first-run risk for the user.
- Evidence base: https://github.com/adbar/trafilatura, https://github.com/adbar/trafilatura#readme, Human Manual, Pitfall Log
01
Quick decision
Use this section to decide whether the project is worth a deeper read.Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
6.1k stars · 387 forks
02
What it can do
Translate the upstream project into concrete capabilities the user can judge before installing.Overview, Installation, and Quickstart
Related topics: Core Extraction Engine: Text and Metadata, Web Discovery, Crawling, and Downloads
Source: https://github.com/adbar/trafilatura / Human Manual
Core Extraction Engine: Text and Metadata
Related topics: Overview, Installation, and Quickstart, Settings, Output Formats, and Known Issues
Source: https://github.com/adbar/trafilatura / Human Manual
Web Discovery, Crawling, and Downloads
Related topics: Overview, Installation, and Quickstart, Core Extraction Engine: Text and Metadata
Source: https://github.com/adbar/trafilatura / Human Manual
Settings, Output Formats, and Known Issues
Related topics: Core Extraction Engine: Text and Metadata, Web Discovery, Crawling, and Downloads
Source: https://github.com/adbar/trafilatura / Human Manual
Doramagic Pitfall Log
Source-linked risks stay visible on the manual page so the preview does not read like a recommendation.
Source: Doramagic discovery, validation, and Project Pack records
Sources: https://github.com/adbar/trafilatura, Human Manual, Project Pack evidence, and downstream validation signals.
03
Community Discussion Evidence
Project-level external discussion stays visible on the detail page, not only inside the manual.Community Discussion Evidence
12 source-linked itemsReview these external discussions before using trafilatura with real data or production workflows. They are review inputs, not standalone proof that the project is production-ready.
-
01
Investigate spacing in element tails
github / github_issue
-
02
HTML conversion: 'NoneType' object is not subscriptable
github / github_issue
-
03
include_links breaks the extraction for https://news.ycombinator.com
github / github_issue
-
04
Keeping all valid table information and formatting
github / github_issue
-
05
Backticks produce extra line breaks
github / github_issue
-
06
some extraction duplicated in xml
github / github_issue
-
07
`include_images` changes text extraction
github / github_issue
-
08
Keeping images breaks parsing
github / github_issue
-
09
Text dropped in table after setting `include_formatting=True`
github / github_issue
-
10
Duplicate paragraph extraction when a long sibling paragraph is present
github / github_issue
-
11
Duplicated lines when nested in <article> and <main>, with <br> in front
github / github_issue
-
12
`included_images` failed when trying to extract images in a table
github / github_issue
04
How to start
Only source-backed commands are shown here. Verify them in an isolated environment first.Try the prompt first
Test the workflow without installing the upstream project.
previewRead the Human Manual
Understand inputs, outputs, limits, and failure modes.
manualTake context to your AI host
Use the compiled assets in your preferred AI environment.
contextRun sandbox verification
Confirm install commands and rollback before using a primary environment.
verifypip install trafilaturaOfficial start command · https://github.com/adbar/trafilatura#readme · verified: yes
05
Human Manual
The English page must expose the real manual, not a short placeholder.8+ sections · Human Manual
trafilatura Manual
Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, output as CSV, JSON, HTML, MD, TXT, XML
Open the full manual- https://github.com/adbar/trafilatura Project Manual
- Table of Contents
- Overview, Installation, and Quickstart
- Related Pages
- Purpose and Scope
- High-Level Architecture
- Installation
- Dependency Notes (community-reported issues)
Overview, Installation, and Quickstart
Related topics: Core Extraction Engine: Text and Metadata, Web Discovery, Crawling, and Downloads
Source: https://github.com/adbar/trafilatura / Human Manual
Core Extraction Engine: Text and Metadata
Related topics: Overview, Installation, and Quickstart, Settings, Output Formats, and Known Issues
Source: https://github.com/adbar/trafilatura / Human Manual
Web Discovery, Crawling, and Downloads
Related topics: Overview, Installation, and Quickstart, Core Extraction Engine: Text and Metadata
Source: https://github.com/adbar/trafilatura / Human Manual
Settings, Output Formats, and Known Issues
Related topics: Core Extraction Engine: Text and Metadata, Web Discovery, Crawling, and Downloads
Source: https://github.com/adbar/trafilatura / Human Manual
Doramagic Pitfall Log
Source-linked risks stay visible on the manual page so the preview does not read like a recommendation.
Source: Doramagic discovery, validation, and Project Pack records
06
AI Context Pack and portable assets
After deciding to continue, take the project context into your own AI host.Complete pack plus user-owned assets
These files are planning and verification assets for Claude Code, Codex, Gemini, Cursor, ChatGPT, and other AI hosts.
07
Preflight checks
Treat this page as a planning asset, not proof that your local environment is ready.- The manual is generated from source-linked project files and Doramagic validation signals.
- Community evidence warnings stay visible instead of being converted into marketing claims.
- This English page is indexable because the locale quality gate passed and explicit English index approval is enabled.
- Use the upstream repository as the final authority for installation commands, license, and version-specific behavior.
08
Pitfall Log and verification risks
Doramagic surfaces high-risk items before users treat a candidate capability as verified.Runtime risk requires verification
May increase setup, validation, or first-run risk for the user.
Security or permission risk requires verification
May increase setup, validation, or first-run risk for the user.
Configuration risk requires verification
Developers may misconfigure credentials, environment, or host setup: Duplicate paragraph extraction when a long sibling paragraph is present
Configuration risk requires verification
Developers may misconfigure credentials, environment, or host setup: Duplicated lines when nested in <article> and <main>, with <br> in front
Configuration risk requires verification
Developers may misconfigure credentials, environment, or host setup: `include_images` changes text extraction
Configuration risk requires verification
Developers may misconfigure credentials, environment, or host setup: some extraction duplicated in xml
Configuration risk requires verification
May increase setup, validation, or first-run risk for the user.
Configuration risk requires verification
May increase setup, validation, or first-run risk for the user.