01Chapter 1: The big picture: crawl, index, serveA search engine does not look at the live web when you type a query. It answers from a copy it built earlier. This chapter gives you the model that the rest of the tutorial fills in. You will see the three stages that take a page from "unknown" to "returned in a result", what each stage produces, an6 min read
02Chapter 2: Fetching a page: requests, status codes, and redirectsFetching is the first stage where a crawler touches your server. This chapter covers what a crawler sends, how it reads the response, and what it does with each status code. It assumes you know what an HTTP request and response look like, can read short Python snippets, and have seen a status code s5 min read
03Chapter 3: robots.txt: what a crawler may fetchThis chapter covers the file a crawler reads before it requests anything else from a host. You should already know HTTP status codes and have read the previous chapter on fetching pages. By the end you should be able to write robots.txt rules, predict which rule a crawler applies, test them in Pytho5 min read
04Chapter 4: Parsing HTML and extracting linksThis chapter covers how a crawler turns a fetched HTML document into a list of candidate URLs. It assumes you know what an HTTP response looks like, can read basic HTML, and can follow short Python snippets. Fetching comes before this stage, and URL normalization comes after it. Here we focus on the6 min read
05Chapter 5: Discovering and normalizing URLsThis chapter assumes you can read short Python snippets, know how HTTP requests and status codes work, and know how an <a href> link is structured. The previous chapter showed how a parser pulls href values out of HTML. Those values are raw strings, and this chapter covers what happens to them n5 min read
06Chapter 6: Sitemaps as a discovery hintA sitemap is a file where a site lists the URLs it wants crawled. This chapter covers the format, the limits, how crawlers use the file, and why it is a hint and not a command. It assumes you have read the earlier chapters on fetching, robots.txt, and URL discovery. You should be comfortable with HT6 min read
07Chapter 7: The crawl frontier: deciding what to fetch nextThis chapter assumes you know how a crawler fetches a page and extracts links, and that you have read the earlier chapters on URL normalization and robots.txt. You should be comfortable reading short Python snippets that use queues and heaps.6 min read
08Chapter 8: Politeness, rate limits, and crawl budgetThis chapter assumes you know how an HTTP fetch works and what 200, 301, 404, 429, and 503 mean. You should also remember that a crawler keeps a frontier, which is a queue of URLs waiting to be fetched, and that it reads robots.txt before fetching. You should be able to read short Python snippets.6 min read
09Chapter 9: Rendering JavaScript-dependent pagesThis chapter assumes you know how a crawler fetches a page over HTTP and extracts links from HTML, as covered in the earlier chapters. It also assumes you can read short Python and HTML snippets. Here you will see why some pages look empty to a crawler, how search engines render JavaScript, and how 6 min read
10Chapter 10: Canonical URLs and duplicate contentThis chapter assumes you know how a crawler fetches pages and follows redirects, and that you can read short Python snippets. It covers how a search engine decides which URL represents a page and what it does when many URLs lead to the same content.6 min read
11Chapter 11: Extracting and tokenizing page textThis chapter assumes you can read short Python snippets and know basic HTML. You should also know that earlier stages have already fetched the page, rendered it if needed, and settled on a canonical URL. Here you will turn the HTML into the terms the index stores.4 min read
12Chapter 12: Building an inverted indexThis chapter assumes you can read short Python snippets and know what a crawler hands to the indexer: the extracted text of each fetched page, after rendering and canonicalization. Here you build the data structure that lets a search engine answer a query without scanning every page.5 min read
13Chapter 13: Controlling indexing: noindex versus robots.txtThis chapter covers the two main tools site owners use to influence what ends up in a search index, and why mixing them up is a common source of bugs. It assumes you know basic HTTP status codes, can read HTML, and can follow short Python snippets. It also assumes you have seen the earlier chapters 5 min read
14Chapter 14: Recrawling and keeping the index freshA search index is a snapshot. The moment a crawler stores a page, the live page can change, move, or disappear. This chapter covers how crawlers decide when to revisit a URL, how they check cheaply for changes, and how a site owner can speed up or slow down that process.5 min read
15Chapter 15: How the index feeds search resultsThe previous chapters followed a page from discovery to an index entry. This chapter covers the last step, where the index answers a query. It assumes you have read the chapter on building an inverted index. You should also be comfortable reading short Python snippets and know what a posting list is6 min read
16Chapter 16: Diagnosing why a page is not crawled or indexedThis chapter assumes you know the pipeline from earlier chapters: discovery, robots.txt, fetching, rendering, canonicalization, and the inverted index. It also assumes you can read short Python snippets. Here you will combine those pieces into a repeatable checklist.5 min read