Menu

Glossary

What is a website crawler?

A website crawler is a program that visits a site's pages by starting from a URL, downloading each page and following the links it finds.

Copy as MarkdownOpen in ChatGPT (opens in a new tab)Open in Claude (opens in a new tab)

A website crawler is a program that systematically visits a site's pages by starting from a URL, downloading each page, and following the links it finds to discover more pages. Crawlers feed search engine indexes and site audits, and increasingly AI pipelines that need a whole site's content converted into a form a language model can read.

How a crawler works

Every crawler runs the same loop. It begins with one or more seed URLs, fetches each page, parses out the links, adds new URLs to a queue (the "frontier"), and repeats until it reaches a stopping condition: a page limit, a depth limit or an empty frontier. Along the way it deduplicates URLs, stays within the domain or path it was scoped to, and stores what it fetched.

The classic example is a search engine's crawler, which revisits the web again and again to keep an index current. But crawlers are just as common at small scale: an SEO tool auditing one site, an archiver mirroring a blog, or an AI pipeline ingesting a documentation site.

The rules well-behaved crawlers follow

Crawling uses someone else's servers, so good conduct is part of the definition:

Crawlers and LLM pipelines

Crawling has found a second use with AI. RAG systems need whole knowledge bases and documentation sites ingested, not single pages, and agents ask for "everything on this site" as a routine operation. That changed what the output should look like: each page needs the same cleanup a scraper applies, because the reader is a model and not an indexer. The crawl discovers and extraction converts. The scraping vs crawling entry explains that division of labor.

Because the size of a crawl is unknown in advance, crawl services typically run asynchronously: submit a job, poll or receive a webhook, then page through the results.

Where MillionShort fits

MillionShort crawls a site you name with Crawl: a job that follows the site's sitemap and links within robots.txt and returns its pages as clean text. Map lists the URLs of a site in one call. Search is the result of that kind of work, made searchable: a search API on our own independent index.

If your goal is "find the pages on these sites about this subject", a search with include_domains does that in one call and returns a snippet per page. If your goal is "give me every page of this site", use Crawl. For one URL at a time, use Extract.

This page as Markdown ยท llms.txt