trafilatura vs pipet
Web extraction tools compared
trafilatura and pipet both extract data from web sources, but serve different workflows. trafilatura is a Python library and CLI focused on readable text, metadata, and structured exports; pipet is a Go command-line tool built around reusable queries and shell pipelines.

trafilatura: Extract Text and Metadata from Web Pages
Trafilatura is a Python library and CLI for discovering web content and extracting readable text and metadata from HTML. It suits developers and researchers building crawlers, web corpora, or content-processing pipelines that need structured output.

pipet: Scrape and Extract Data from the Web
Pipet is a command-line tool for extracting data from HTML pages, JSON endpoints, and JavaScript-rendered websites. It suits developers and technically minded users who want reusable scraping queries, shell-pipeline processing, or change monitoring.
| trafilatura | pipet | |
|---|---|---|
| Language | Python | Go |
| License | Apache-2.0 | MIT |
| Stars | 6.9k | 4.8k |
| Forks | 447 | 222 |
| Last analyzed | Oct 3, 2026 | Oct 3, 2026 |
Key differences
- trafilatura discovers URLs from feeds and sitemaps and extracts article text and metadata; pipet queries HTML, JSON, and JavaScript-rendered pages.
- trafilatura preserves document structure and exports to formats including Markdown, CSV, JSON, and XML-TEI; pipet returns text or JSON and can render results with a template.
- trafilatura combines downloading and extraction in a Python package and CLI; pipet centers on text-file queries, curl, and Unix tools.
- trafilatura uses its own rule-based extractor with jusText and readability-lxml fallbacks; pipet uses CSS selectors, GJSON syntax, or Playwright for extraction.
- trafilatura is licensed under Apache-2.0; pipet is licensed under MIT.
- trafilatura has 6.9k stars and 447 forks; pipet has 4.8k stars and 222 forks.
Choose trafilatura if you…
- need article text with metadata and preserved document structure.
- want to discover URLs through feeds or sitemaps and process them in a Python workflow.
- need multiple structured export formats or parallel processing.
Choose pipet if you…
- want reusable text-file queries for HTML, JSON, or JavaScript-rendered pages.
- prefer processing results in shell pipelines with Unix tools.
- need to rerun a query periodically and run a command when results change.
Compare the numbers side by side, or add more projects
This comparison is generated with AI from the OSRepos analyses of both projects. Always check each project's repository and documentation before choosing.