Skip to main content

Module compare

Module compare 

Source
Expand description

Diff-based comparison of two crawl results.

Detects added/removed pages, status changes, title changes, content changes, and Core Web Vitals regressions between crawls.

Structs§

CrawlDiff
Result of comparing two crawl databases.
CwvChange
A Core Web Vitals regression or improvement between crawls.
DiffEntry
A single diff entry.

Enums§

ChangeKind
The type of change detected for a page.
CompareError
Errors specific to comparison operations.

Functions§

compare_crawl_ids
Compare two specific crawl IDs within the same or different databases.
compare_crawls
Compare two SQLite crawl databases by their latest crawl.
diff_to_json
Write a diff to JSON.
diff_to_markdown
Write a diff to Markdown.