trafilatura vs Lassie
Web page content extraction tools compared
trafilatura and Lassie are Python projects that retrieve or process web pages and turn them into structured content. trafilatura covers discovery, downloading, and detailed text and metadata extraction, while Lassie focuses on basic page details and media such as images and videos.

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.

Lassie: Retrieve and Extract Content from Web Pages
Lassie is a Python library for retrieving basic content from websites. It extracts page details such as titles, descriptions, images, videos, and keywords, helping developers turn a URL into structured content.
| trafilatura | Lassie | |
|---|---|---|
| Language | Python | HTML |
| License | Apache-2.0 | MIT |
| Stars | 6.9k | 626 |
| Forks | 447 | 49 |
| Last analyzed | Oct 3, 2026 | Oct 28, 2026 |
Key differences
- trafilatura can discover URLs from feeds and sitemaps, while Lassie fetches a page from a URL.
- trafilatura extracts structured main text and metadata such as author, date, and categories; Lassie focuses on titles, descriptions, images, videos, keywords, and locale.
- trafilatura supports multiple output formats, including JSON, Markdown, and XML-TEI; Lassie provides a Python library interface for retrieved page details.
- trafilatura is licensed under Apache-2.0, while Lassie is licensed under MIT.
- trafilatura is not archived; Lassie is marked inactive, with no recent commits or releases.
Choose trafilatura if you…
- need to discover pages from feeds or sitemaps and process them in a pipeline.
- want structured article text, metadata, and document elements in multiple output formats.
- need options for local HTML, parallel processing, or fallback extractors.
Choose Lassie if you…
- want a straightforward Python interface for fetching page details from a URL.
- need basic metadata such as titles, descriptions, keywords, and locale, or image and video details.
- are prototyping link previews or metadata collection and can account for the project's inactive status.
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.