Sub topic 1
What a crawl export tells you
A crawl export is a table with one row per URL the crawler requested. Every later step in this tutorial, such as hashing text, clustering duplicates and triaging thin pages, starts from this table. Before you look for problems, you need to know what each column records and what it leaves out.
Prerequisites
This chapter assumes you already know:
- Basic HTML structure: title, headings, body and link elements.
- HTTP status codes and redirects.
- What a crawler such as Screaming Frog, Sitebulb or a custom script records for each URL.
- Basic spreadsheet or pandas skills for filtering and grouping rows.
What one row represents
A row describes one request, not one page. If the crawler follows http://example.com/shoes and gets a 301 redirect to https://example.com/shoes/, you get two rows. Query-string variants of a URL also get their own rows. This is why a crawl often reports far more URLs than the site has real pages, and why duplicates are easy to find once you know where to look.
The fields that matter
Column names vary by tool, but most exports contain the same kinds of data.
| Field | What it records | Why it matters here |
|---|---|---|
| url | The requested address | Reveals protocol, host, slash and parameter variants |
| status | The HTTP status code | Separates real pages (200) from redirects and errors |
| content_type | The response type | Keeps images and PDFs out of an HTML analysis |
| title, h1 | On-page headings | Repeated values often point to duplicate templates |
| canonical | The URL named in the canonical link element | Shows which URL the site says it prefers |
| meta_robots | The robots meta directive, such as noindex | Shows whether the page is meant to be indexed |
| word_count | Words in the extracted text | A first measure of thinness |
| body_text | The extracted text | The input for hashing and similarity checks |
| inlinks | Internal links pointing to the URL | A rough signal of importance |
Some exports do not include body_text by default. You may need to enable custom extraction or a "store HTML" option before you crawl.
Loading and checking an export
Start by confirming what you have. The script below lists the columns, counts the status codes, and keeps only the 200-status rows.
import pandas as pd
df = pd.read_csv("crawl.csv") # columns: url, status, content_type, word_count, canonical, meta_robots
print(df.columns.tolist())
print(df["status"].value_counts())
pages = df[df["status"] == 200].copy()
print(f"{len(pages)} of {len(df)} rows returned 200")Analyze only the 200 rows for content. Redirects and errors have no body of their own, so they would skew every count. Keep the full table, though. The redirect rows show how the site already merges URLs, and you will use them later when you read indexing signals.
Checking the crawl before you trust it
Check three things before you draw conclusions:
- Coverage. Compare the crawl against the XML sitemap. Missing sitemap URLs suggest the crawl was limited or blocked.
- Rendering. If the site builds content with JavaScript, a plain HTML crawl may show near-empty pages that are fine in a browser. Check whether the crawl rendered scripts.
- Limits. Many crawlers stop at a URL cap or a depth limit. A truncated crawl undercounts both duplicates and thin pages.
The crawl is a sample of what the crawler could reach. It does not show what a search engine has indexed. Keep that distinction in mind, because later chapters compare crawl signals with indexing signals.
Exercise
Your export has 12,000 rows, and 2,500 of them have status 301. A colleague says the site has 12,000 pages. What is wrong with that claim, and what is your next step?
Show answer
Each row is one request, and redirect rows are not content pages. They point to another URL, so they should not be counted as pages. Filter to status 200 and also check content_type, then count those rows. Keep the 301 rows for later, because they show which URL variants the site already redirects.