Menu

Glossary

Scraping vs crawling: what's the difference?

Scraping extracts content from pages whose URLs you already know, while crawling discovers pages by following links from a starting point.

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

Scraping and crawling solve different problems: scraping extracts content from specific pages whose URLs you already know, while crawling discovers pages by starting from one URL and following links across a site. Crawlers find the pages and scrapers read them. Most real pipelines combine both: crawl a site to list its URLs, then scrape each page's content.

Two different jobs

The terms get used interchangeably, but they name different operations. Scraping is content extraction: given a URL, pull out the text, fields or data you care about. Crawling is discovery: given a starting point, find the URLs worth visiting by following links, sitemaps and navigation. A scraper answers "what does this page say?" A crawler answers "what pages exist?"

Search engines show the split at the largest scale. A crawler discovers pages across the web, and a separate indexing pipeline extracts and processes the content of each one.

When you want scraping

Use scraping when you already have the URLs:

When you want crawling

Use crawling when the site itself is the unit of work:

Crawling is asynchronous by nature, since a site might be ten pages or ten thousand, so crawl services typically run as jobs that you submit and then poll. A website crawler also has obligations that a single-page fetch mostly does not: respecting robots.txt, limiting its request rate per host, and deduplicating URLs.

How they combine in practice

Almost every "crawl a site" task is really crawl-then-scrape: the crawler walks the links while an extraction step converts each discovered page into clean content. Managed services often join the two. If you would rather keep them separate, pair a discovery pass with a web scraping API of your choice.

There is a third way to find pages, which is to search for them. When you want pages about a subject rather than every page of one site, a web search API returns the URLs directly.

Where MillionShort fits

MillionShort does both jobs. A crawl of a site you name is Crawl, with Map for a site's URLs, and reading a page you name is Extract, which turns one URL you already have into clean text. Search is the third way: a search returns URLs with snippets from our own index, and include_domains restricts a search to sites you list, which answers "which pages on these sites match this query?" but does not enumerate a site.

This page as Markdown ยท llms.txt