Categories

Firecrawl: Web Data for Agents

0:41

About this video

If you write your own crawler: robots.txt, one queue per host and 304 Not Modified make the polite option the cheap one too.

Firecrawl is an open-source API that turns any web page into clean Markdown, ready for a language model. With scrape and crawl endpoints plus schema-guided JSON extraction, it gives your AI agent reliable web data. This guide covers its formats, how to self-host it with Docker and when it beats a scraper of your own.

Video transcript
  1. 0:01 First we fetch robots.txt and honour it:
  2. 0:05 disallowed paths are never requested.
  3. 0:07 One queue per host, two requests per second, with an honest User-Agent.
  4. 0:12 The first fetch downloads 142 KB and stores the validators with the document.
  5. 0:18 On the revisit, the request includes the stored validator and asks whether anything
  6. 0:23 changed.
  7. 0:24 If nothing changed, the server answers 304 Not Modified:
  8. 0:28 zero KB, nothing to parse again.
  9. 0:31 Wasted revisits drop from 375 to 59.
  10. 0:35 The polite choice and the cheap one are the same.

Read the full article Watch on YouTube

More videos

All videos