Waterfall-Fetch Hero Image

Waterfall-Fetch

Waterfall-Fetch is a powerful and flexible utility for web scraping and HTML fetching, employing a cascading retry approach with multiple strategies. It’s designed to provide a robust solution for retrieving HTML content from websites, even when faced with various challenges. But above all it is designed to be simple.

Key Features

How Waterfall-Fetch Works

This diagram illustrates the cascading approach of Waterfall-Fetch:

  1. It starts with the fastest method (Axios).
  2. If that fails, it moves to Node-fetch.
  3. If Node-fetch fails, it uses Puppeteer as a last resort.
  4. If all methods fail, it returns an error.

This intelligent, tiered strategy ensures that you’re always using the most appropriate and efficient method for each unique scraping scenario, balancing speed, cost, and accuracy.

Ready to dive in? Check out our Quick Start guide to begin your journey with Waterfall-Fetch!