Skip to main content
Ctrl+K
Trafilatura 2.3.1 documentation - Home Trafilatura 2.3.1 documentation - Home
  • Installation
  • Quickstart
  • Usage
  • Tutorials
  • FAQ
    • Troubleshooting
    • How extraction works
    • Benchmarks and evaluation
    • Core functions
    • Settings and customization
    • Deprecations and migration
    • Uses & citations
    • Running the tests
    • Background
    • Blog
  • GitHub
  • Installation
  • Quickstart
  • Usage
  • Tutorials
  • FAQ
  • Troubleshooting
  • How extraction works
  • Benchmarks and evaluation
  • Core functions
  • Settings and customization
  • Deprecations and migration
  • Uses & citations
  • Running the tests
  • Background
  • Blog
  • GitHub

Section Navigation

  • Quickstart
  • Python usage
  • Command-line usage
  • Graphical user interface
  • Usage with R
  • API
  • Download web pages
  • Web crawling
  • Deduplication
  • URL management
  • Usage

Usage#

Detailed guides for using Trafilatura with Python, on the command-line, with R, and for web data collection tasks.

  • Quickstart
    • With Python
    • On the command-line
    • Further steps
  • Python usage
    • The Python programming language
    • Step-by-step
    • Extraction settings
    • Input/Output types
    • Navigation
    • Deprecations
  • Command-line usage
    • Introduction
    • Quickstart
    • Extraction parameters
    • Process files locally
    • Process a list of links
    • Link discovery
    • Deprecations
    • Further information
  • Graphical user interface
    • Installation
    • Getting started
    • Troubleshooting
    • Screenshot
  • Usage with R
    • Introduction
    • Installation
    • Download and extraction
    • Other functions
    • Going further
  • API
    • Introduction
    • Making JSON requests
    • Examples
    • Further information
  • Download web pages
    • With Python
    • On the command-line
    • Enforcing politeness rules
    • Summary
  • Web crawling
    • Design decisions
    • With Python
    • On the command-line
    • Further reading
  • Deduplication
    • Element and paragraph level
    • Document level
    • Clearing the cache
    • Configuration
  • URL management
    • Extracting links from a page
    • Filtering a list of URLs
    • Sampling by domain name
    • Internal vs. external links
    • Blacklisting
    • Storing and reusing URL lists

previous

Quickstart

next

Python usage

Show Source

© Copyright 2025, Adrien Barbaresi.

Built with the PyData Sphinx Theme 0.22.0.