People use web crawler and web scraper as if they mean the same thing. They don’t, and mixing them up leads to the wrong tool, a surprise bill or a crawl that runs for hours when you needed one page.
We tested both on the same practice site. First with Firecrawl’s crawl and scrape modes, then with two small Python scripts we wrote from scratch: one that crawls, one that scrapes.
The outputs looked nothing alike. Here’s the real difference, and how to know which one your project needs.
Web crawler vs web scraper: the short answer
A web crawler discovers pages. It starts at one URL, follows links, and builds a list of what exists. A web scraper extracts data. It opens a page you already know about and pulls out specific fields, such as prices, names or quotes.
Crawlers answer “what pages are on this site?” Scrapers answer “what’s on this page?” Most real projects use both: a crawler to find the pages, a scraper to read them.
| Web crawler | Web scraper | |
|---|---|---|
| Main job | Discover pages by following links | Extract specific data from pages |
| Starts with | One URL | Known URLs and the fields you want |
| Output | A list of URLs, titles and links | Structured rows: JSON, CSV or a database |
| Pages touched | Many, lightly | Few or many, in depth |
| Typical users | Search engines, SEO audits, AI data collection | Price tracking, lead lists, research |
| In our test | 15 pages, 119 links found, no usable data | 10 quotes with authors and tags from one page |
What is a web crawler?
A web crawler, also called a spider or bot, is a program that visits web pages automatically and follows the links it finds to discover more pages. It keeps a queue of URLs to visit and a list of URLs it has already seen, so it doesn’t loop forever.
The best-known crawlers belong to search engines. Googlebot and Bingbot crawl the web to find pages for their indexes. AI companies run crawlers too, such as OpenAI’s GPTBot, to collect pages for training and search.
A crawler usually stores little from each page: the URL, status code, title and the links it found. Its job is coverage, not detail.
What is a web scraper?
A web scraper is a program that pulls specific data out of a web page and saves it in a structured format, such as a spreadsheet, JSON or a database. It knows what it’s looking for, often down to the exact HTML element.
Price trackers, lead lists, job boards and research datasets all run on scrapers. Our guide to what web scraping is covers the main uses and limits in more depth.
A scraper’s job is precision. It might visit one page or ten thousand, but on each one it extracts the same fields.
Our test: crawl vs scrape on the same site
We used quotes.toscrape.com, a practice site built for scraping. It has quote pages, author pages, tag pages and a login page, which makes it a good small maze for a crawler.
Test 1: Firecrawl crawl mode
We gave Firecrawl’s crawl mode the homepage, a limit of 15 pages and a depth of two links.
It came back with 15 pages, 15 credits used. The output was a list of URLs, each with its title, status code and the links found on it. Across those pages, Firecrawl had spotted 119 unique internal links: 91 tag pages, 24 author pages and a handful of others.
What it didn’t give us was data in a usable shape. No list of quotes, no authors in a column. The crawl told us what exists, not what it says.
It also didn’t follow the site’s “Next” pagination. With a 15-page limit, it went wide across tag and author links first, which is how crawlers explore by default.
Test 2: Firecrawl scrape mode
Next we scraped one URL, the “inspirational” tag page, with Firecrawl’s scrape mode.
That cost 1 credit and returned the page as clean markdown: 465 words, all 10 quotes with their authors and tags, and the navigation stripped out. That’s ready for an AI model or a notes app. Our guide on scraping websites for LLMs goes deeper on this format.

Test 3: a scraper from scratch
To get structured data, we wrote a 11-line Python scraper using only the standard library. It opens the same page and pulls three fields from each quote.
import re, json, urllib.request, html
url = "https://quotes.toscrape.com/tag/inspirational/page/1/"
page = urllib.request.urlopen(url).read().decode()
quotes = []
for block in re.findall(r'<div class="quote".*?</div>\s*</div>', page, re.S):
quotes.append({
"text": html.unescape(re.search(r'class="text"[^>]*>(.*?)</span>', block).group(1)),
"author": re.search(r'class="author"[^>]*>(.*?)</small>', block).group(1),
"tags": re.findall(r'class="tag"[^>]*>(.*?)</a>', block),
})
print(len(quotes), json.dumps(quotes[0], ensure_ascii=False))
It printed 10 quotes in JSON, the first being Albert Einstein’s “There are only two ways to live your life…” with five tags. That’s the difference in one line: the crawler gave us URLs, the scraper gave us rows.
Test 4: a crawler from scratch
Then we wrote a crawler. It starts at the homepage, follows every internal link it hasn’t seen, skips the login page and waits 0.2 seconds between requests to be polite.
import re, time, urllib.request
from collections import deque
from urllib.parse import urljoin
start = "https://quotes.toscrape.com/"
seen, queue, found, errors = {start}, deque([start]), 0, 0
while queue and len(seen) <= 400:
url = queue.popleft()
try:
page = urllib.request.urlopen(url, timeout=15).read().decode()
except Exception:
errors += 1; continue
found += 1
for href in re.findall(r'href="([^"#]+)"', page):
link = urljoin(url, href)
if link.startswith(start) and link not in seen and "/login" not in link:
seen.add(link); queue.append(link)
time.sleep(0.2)
print("fetched", found, "pages; errors", errors, "; discovered", len(seen), "URLs")
It ran for 5 minutes 45 seconds. It fetched 165 pages, hit 50 server errors on pages the site couldn’t load, and discovered 215 URLs in total.
Two lessons came out of that run. First, crawling takes far longer than scraping because you’re visiting everything, including pages you don’t need. Second, crawlers must expect failure.
Our first version crashed on the first error. Every real crawler needs error handling, retries and limits.
Test 5: the crawler, rebuilt properly
Our first crawler was the kind most tutorials show: fetch, follow links, give up on errors. We rebuilt it with the four things real crawlers need, then ran it again on the same site.
- Retries with back-off. Server errors (5xx) and timeouts get two more tries, one and two seconds apart.
- URL normalisation.
/tag/love/and/tag/love/page/1/are the same page, so they count once. - Depth tracking. Each URL remembers how many clicks it sits from the homepage.
- An honest user agent that names the bot, instead of pretending to be a browser.
| First crawler | Rebuilt crawler | |
|---|---|---|
| Pages fetched | 165 | 204 |
| Errors | 50 | 0 |
| URLs discovered | 215 | 204 after removing duplicates |
| Run time | 5 min 45 s | 5 min 54 s |
| Deepest page found | Not tracked | 10 clicks from the homepage |
| Mix of pages | Not tracked | 142 tag, 50 author, 9 listing, 3 other |
The second run fetched 204 pages with zero errors, against 165 pages and 50 errors the first time. The retries never fired, so the site itself was simply healthier that evening. That’s a lesson too: a crawl’s error count says as much about the server’s mood as about your code, so log errors and re-crawl failures later instead of trusting one pass.
Normalisation removed 12 duplicate URLs out of 216 raw internal links. On a small site that’s tidy-up. On a shop with filter and sort parameters, the same trick is the difference between crawling 5,000 product pages and 500,000 near-identical URLs.
The depth column told the most interesting story. Most pages sat one to three clicks from the homepage, but some tag pages were 10 clicks deep, reachable only by paging through “Next” on a tag listing. A crawler with a depth limit of three would never have found them. That’s exactly how important pages go missing from search engines on real sites.
Test 6: a map instead of a crawl
Firecrawl’s map mode doesn’t visit every page. It collects URLs from sitemaps, search results and links it already knows about, and returns the list in one call.
On the same site, map returned 168 URLs in seconds. After removing near-duplicates (trailing slashes and /page/1 variants), 155 were unique.
It also found things our link-following crawler never could: 26 URLs in sections such as /js/, /js-delayed/, /scroll, /tableful/ and an /api/quotes endpoint. Those sections exist on the practice site but aren’t linked from the pages we started on. A map is fast and wide; a crawl is slower but tells you what’s actually connected.
The catch is accuracy. Map listed a page/11 URL and a CSS file next to real pages, and gave every URL the same generic title. Treat a map as a starting list to check, not a verified inventory.
Test 7: crawl and scrape together
Finally, we built the pipeline most projects actually need. Instead of crawling everything, our script followed only the “Next” button and scraped every quote on each page it reached.
import re, time, json, html, urllib.request
t0 = time.time(); url = "https://quotes.toscrape.com/"; rows = []; pages = 0
while url:
p = urllib.request.urlopen(url, timeout=15).read().decode(); pages += 1
for q in re.findall(r'<div class="quote".*?</div>\s*</div>', p, re.S):
rows.append({"text": html.unescape(re.search(r'<span class="text"[^>]*>(.*?)</span>', q).group(1)),
"author": html.unescape(re.search(r'<small class="author"[^>]*>(.*?)</small>', q).group(1)),
"tags": re.findall(r'class="tag" href="[^"]+">([^<]+)<', q)})
m = re.search(r'<li class="next">\s*<a href="([^"]+)"', p)
url = "https://quotes.toscrape.com" + m.group(1) if m else None
time.sleep(0.2)
It visited 10 pages in 19.9 seconds and saved 100 quotes from 50 authors, with 137 unique tags. Three quotes had no tags at all, the kind of gap a real dataset needs to handle.
Compare that with the full crawl: 204 pages and almost six minutes to collect links, with no data at the end. A targeted crawl that scrapes as it goes did the useful job in a tenth of the pages.
| Approach | Pages fetched | Time | Usable data |
|---|---|---|---|
| Full crawl (rebuilt crawler) | 204 | 5 min 54 s | None, just URLs |
| Firecrawl map | None fetched | A few seconds | 168 URLs, unverified |
| Firecrawl crawl, 15-page limit | 15 | Not timed | Links and page text |
| Targeted crawl plus scrape | 10 | 19.9 s | 100 quotes, 50 authors, 137 tags |

Web crawler vs web scraper: the differences that matter
Goal. Crawlers find pages. Scrapers extract data from pages.
Input. A crawler needs only a starting URL. A scraper needs to know which pages and which fields.
Output. A crawler produces a list of URLs, often with titles and links. A scraper produces structured records.
Scale. Crawlers touch many pages lightly. Scrapers can be narrow and deep, sometimes one page at a time.
Cost. On paid tools that charge per page, a crawl costs one credit per page it visits. In our test that was 15 credits for a list of links, against 1 credit for a full page of usable content.
Risk. A crawler that ignores robots.txt or crawls too fast can overload a site and get your IP blocked. A scraper that pulls personal or copyrighted data can raise legal questions. Our guide to web scraping and the law covers where the lines are.
Crawl budget: why crawlers skip pages
Search engines don’t crawl every page of every site every day. Each site gets a rough crawl budget, set by how fast the server responds and how valuable the pages look. Our test showed the forces at work on a tiny site.
Depth matters because crawlers reach deep pages last and sometimes not at all. Our 10-click tag pages would be the first casualties of a tight budget.
Duplicates waste budget. Every duplicate URL a crawler fetches is a real page it didn’t. Canonical tags, consistent internal links and a clean sitemap keep that waste down.
Errors slow crawlers down. Our first run hit 50 server errors; a search engine seeing that rate backs off and visits less often.
If you run a site, you can check how search engines see it by crawling it yourself. Our guide to content gap analysis uses a crawl as its first step,.
Scraping problems you’ll hit, and how to handle them
Scrapers break in predictable ways. These are the ones we planned around in our tests, or hit on other projects:
| Problem | What it looks like | How to handle it |
|---|---|---|
| The site changed its HTML | Empty fields, no errors | Validate output; alert when fields go blank |
| Content loads with JavaScript | The data isn’t in the downloaded HTML | Use a headless browser or the site’s API |
| Rate limits and blocks | 403 or 429 errors, CAPTCHA pages | Slow down, add retries, rotate IPs if allowed |
| Missing values | Some records lack a field | Store empty values; don’t drop the row |
| Pagination | Only the first page scraped | Follow the next link until it disappears |
| Duplicates | The same item twice | Use a stable ID, such as the URL, as the key |
| Character encoding | Garbled quotes and symbols | Decode as UTF-8 and unescape HTML entities |
Most scraper maintenance is the first row. Sites change their HTML, and a scraper written against yesterday’s class names returns empty fields today. Check your output for blanks, not just for errors.
When to use a crawler, a scraper or both
Use a crawler when you don’t know the URLs yet. Building a sitemap, checking a site for broken links, auditing SEO or collecting every article on a blog all start with crawling.
Use a scraper when you know exactly which pages hold the data. Tracking the price of 50 products, reading one competitor’s pricing page or pulling a table from a report are pure scraping jobs.
Use both for anything at scale. Most data projects crawl a category or listing to find product URLs, then scrape each product page. That’s what tools like Firecrawl and Apify do inside one job.
Build your own or use a tool?
Our scripts cost nothing to run and taught us exactly what happens on the wire. They also took a few hours to write properly, and the first version crashed on its first error. That’s the trade-off in miniature.
Write your own when the site is simple, the job repeats, and you want full control of the output. Our short pipeline script collected 100 clean records in 20 seconds, and it will keep working until the site changes its HTML.
Use a tool when pages need JavaScript to render, when the site blocks plain scripts, or when you need clean text from many different sites. Firecrawl returned clean markdown for one credit per page, with no parsing code at all. Apify’s ready-made Actors do the same for big sites like Google Maps, where writing and maintaining your own scraper is a project in itself.
A middle path works well: let a tool handle fetching and rendering, and keep the extraction logic in your own code. That’s what scraping APIs are built for.
How Firecrawl and Apify handle crawling and scraping
Both tools offer the two modes separately, which is why the difference matters when you use them.
Firecrawl has separate scrape, crawl and map endpoints. Map lists a site’s URLs quickly without fetching every page. Crawl visits pages and can return their content in the same run. Scrape reads one URL.
Our Firecrawl tutorial walks through all three, and the Firecrawl review covers pricing.
Apify runs “Actors”, ready-made programs for specific jobs. Its Website Content Crawler crawls and extracts text in one go, while site-specific scrapers pull structured fields from places like Google Maps or Amazon. See our Apify review for how its pricing works.
Heads-up: our ScraperAPI link is an affiliate link. If you buy through it, DroidCrunch earns a commission at no extra cost to you.
If you’d rather write your own scraper but don’t want to deal with blocks and CAPTCHAs, an API like ScraperAPI fetches the page through rotating proxies and returns the HTML. You send it a URL, it handles the hard part, and your code does the extraction.
Sitemaps: the shortcut most crawls should start with
Before crawling a site link by link, check whether it publishes a sitemap. It’s a list of URLs the owner wants found, and reading it costs a handful of requests instead of hundreds.
Our own site is a good example. DroidCrunch’s robots.txt is four lines: it blocks /wp-admin/, allows the one admin file WordPress needs, and points to a sitemap index. That index lists five sitemap files, and between them they held 597 URLs (590 posts and 7 pages). Fetching all five took a few seconds.
Crawling the same site from the homepage would mean fetching every post, category and tag page just to discover those URLs, at a polite pace that runs into hours.
Two caveats keep sitemaps honest. They list what the owner wants indexed, not everything that exists, so drafts, old URLs and filtered pages won’t appear. And they can go stale. A crawl still has a job: checking which listed URLs actually work and finding the pages the sitemap forgot.
Crawlers you’ll see in your server logs
If you run a website, crawlers visit it every day. These are the names you’ll see most:
| User agent | Who runs it | What it’s for |
|---|---|---|
| Googlebot | Google Search indexing | |
| Bingbot | Microsoft | Bing Search, which also feeds other search tools |
| GPTBot | OpenAI | Collecting pages for model training |
| OAI-SearchBot | OpenAI | Pages for ChatGPT search results |
| ClaudeBot | Anthropic | Collecting pages for Claude |
| PerplexityBot | Perplexity | Indexing for Perplexity’s answer engine |
| CCBot | Common Crawl | An open web archive many AI datasets use |
| AhrefsBot, SemrushBot | Ahrefs, Semrush | SEO tools’ link and keyword data |
Each of these is meant to honour robots.txt, which lets you allow some and block others. Many sites now block AI training crawlers such as GPTBot and CCBot while allowing search crawlers, because blocking a search crawler removes you from that search engine’s results. Our guide to ranking in Google’s AI Overviews covers why keeping search crawlers in matters.
Scrapers usually don’t announce themselves this way. Most send a browser’s user agent, which is why site owners rely on rate limits and bot detection rather than robots.txt alone.
How to crawl responsibly
Whether you crawl with a tool or your own script, a few habits keep you out of trouble:
- Read robots.txt first. It tells crawlers which paths the site owner doesn’t want visited.
- Slow down. Add a delay between requests and limit how many run at once.
- Set a limit. Cap pages, depth or run time so a crawl can’t run away.
- Identify yourself. Use a user agent that says who you are and how to contact you.
- Handle errors. Skip or retry failed pages instead of crashing, as our test showed.
Frequently asked questions
Is a web crawler the same as a web scraper?
No. A web crawler discovers pages by following links from one starting URL. A web scraper extracts specific data, such as prices or names, from pages you already know. Many tools combine both, crawling to find pages and scraping each one.
Does a web crawler save the content of each page?
It depends on its purpose. A search engine crawler stores page content for its index, while an SEO or link-checking crawler often keeps only URLs, status codes and links. Tools like Firecrawl let you choose whether a crawl also returns each page’s content.
Is web crawling legal?
Crawling publicly available pages is generally legal in many countries, but how you do it matters. Respect robots.txt, avoid overloading servers and don’t crawl behind logins without permission. Rules vary by country and by what you do with the data afterwards.
Can a web scraper work without a crawler?
Yes. If you already have the list of URLs, a scraper can visit them directly. In our test, a 11-line Python scraper pulled all 10 quotes from a single known page without any crawling at all.
Why is crawling slower than scraping?
A crawler visits every page it finds, including ones you don’t need, and should wait between requests to stay polite. Our small crawler took nearly six minutes to map a practice site, while scraping one page took about a second.
How does a crawler know which pages to skip?
It checks the site’s robots.txt file, which lists paths the owner doesn’t want crawled. Good crawlers also skip URLs they’ve already seen, stay on the target domain and follow page, depth or time limits you set in advance.
What does Firecrawl’s map mode do?
Map lists the URLs on a site quickly without fetching the full content of each page. It’s useful as a first step when you want to see a site’s structure, then pick specific pages to scrape instead of crawling everything.
How many pages should a crawl limit be?
Start small. A limit of 50 to 100 pages shows you a site’s structure and any URL traps, like endless filter combinations, without a big bill or a long wait. Raise the limit once you know which sections you need, or switch to the sitemap if the site has one.
The bottom line
A web crawler finds pages; a web scraper pulls data from them. In our test, Firecrawl’s crawl returned 15 pages of links for 15 credits, while a single scrape returned all 10 quotes on a page for 1 credit.
Start by asking whether you already know the URLs. If you do, scrape them. If you don’t, crawl first, with a page limit, then scrape what you find.
For most projects, the right answer is both, in that order. And if the site publishes a sitemap, read it before you crawl anything: on our own site it listed 597 URLs in a few seconds, work a link-by-link crawl would have needed hours to match.



