Contents

trafilatura 2.0.0

0

Python & Command-line tool to gather text and metadata on the Web: Crawling, scraping, extraction, o

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

Stars: 5310, Watchers: 5310, Forks: 343, Open Issues: 97

The adbar/trafilatura repo was created 6 years ago and the last code push was 5 months ago.
The project is extremely popular with a mindblowing 5310 github stars!

How to Install trafilatura

You can install trafilatura using pip

pip install trafilatura

or add it to a project with poetry

poetry add trafilatura

Package Details

Author
None
License
Apache 2.0
Homepage
None
PyPi:
https://pypi.org/project/trafilatura/
GitHub Repo:
https://github.com/adbar/trafilatura

Classifiers

  • Internet/WWW/HTTP
  • Scientific/Engineering/Information Analysis
  • Security
  • Text Editors/Text Processing
  • Text Processing/Linguistic
  • Text Processing/Markup/HTML
  • Text Processing/Markup/Markdown
  • Text Processing/Markup/XML
  • Utilities
No  trafilatura  pypi packages just yet.

Errors

A list of common trafilatura errors.

Code Examples

Here are some trafilatura code examples and snippets.

GitHub Issues

The trafilatura package has 97 open issues on GitHub

  • 🚨 URGENT: Your TogetherAI key is having a public meltdown! 🎭
  • favor_precision and include_links Enabled Together Cause Over-Aggressive Noise Removal and Main Content Misidentification
  • Feature request: option to keep <span> tags (or disable strip_tags for span) in HTML/Markdown output
  • Table tags incorrect in HTML formatted output
  • Enhancements: Regex Extraction, Advanced Flags, and CLI Improvements
  • Duplicate paragraph extraction when a long sibling paragraph is present
  • Add Kurdish language as it is available in the Justext
  • fix: table handling and img tags inside tables

See more issues on GitHub

Related Packages & Articles

news-please 1.6.16

news-please is an open source easy-to-use news extractor that just works.

txtai 9.5.0

All-in-one open-source AI framework for semantic search, LLM orchestration and language model workflows

pydude 0.28.0

Dude (Uncomplicated Data Extraction) is a Python framework designed for crafting web scrapers with ease. This Flask-inspired framework facilitates the rapid creation of web scrapers with its intuitive syntax. While it's still in pre-alpha, Dude doesn't skimp on features. It supports multiple parser backends like BeautifulSoup4 and LXML, and offers functionalities like URL pattern matching and data grouping.

beir 2.2.0

A Heterogeneous Benchmark for Information Retrieval

Scrapy 2.14.1

A high-level Web Crawling and Web Scraping framework

farm-haystack 1.26.4.post0

LLM framework to build customizable, production-ready LLM applications. Connect components (models, vector DBs, file converters) to pipelines or agents that can interact with your data.

gnews 0.4.3

Provide an API to search for articles on Google News and returns a usable JSON response.