trafilatura - Extract main text and metadata from web pages
Extracts clean article text, metadata, and structured content from web pages or HTML inputs using the Trafilatura CLI or Python API.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Extract article text from URLs
- Extract metadata in JSON format
- Process local HTML files
- Extract text via Python API
- Process piped HTML streams
Inputs
- Web page URLs
- Local HTML files
- Directories of HTML files
- URL list files
Outputs
- Extracted article text
- Structured JSON metadata
- Extracted text files
Requirements
- Trafilatura CLI or Python package
- Python runtime environment
