Skip to content

How a crawler walks the web

The crawler takes a URL from the frontier, fetches it, parses links, enqueues new ones, and repeats until the frontier is empty or the politeness budget runs out.

graph LR
  S[Seed URLs] --> F[Frontier queue]
  F --> P[Fetch page]
  P --> E[Parse links]
  E --> N{New URL?}
  N -->|Yes| F
  N -->|No| D[Discard]
  P --> I[Index content]
  style F fill:#FFF3E0
  style I fill:#E8F5E9