Introduction
A simple and flexible & extensible utility for web scraping and HTML fetching
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.
Quick Start
Get up and running with Waterfall-Fetch in minutes
API Reference
Explore the Waterfall-Fetch API
Key Features
How Waterfall-Fetch Works
This diagram illustrates the cascading approach of Waterfall-Fetch:
- It starts with the fastest method (Axios).
- If that fails, it moves to Node-fetch.
- If Node-fetch fails, it uses Puppeteer as a last resort.
- 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!