Extraction recipe
Blog Article
Headline, author, published and modified ISO dates, tags, reading time estimate and excerpt, with a JSON-LD Article fallback.
Field extractors
Each field names the extractor that produces it and the target it reads from.
| Field | Extractor | Target | Transforms | Required |
|---|---|---|---|---|
| headline | css | h1 | — | required |
| author | css | meta[name="author"] | — | required |
| publishedAt | css | meta[property="article:published_time"] | — | required |
| modifiedAt | css | meta[property="article:modified_time"] | — | required |
| tags | css | a[rel="tag"] | — | required |
| readingTimeMinutes | css | .reading-time | — | required |
| excerpt | css | meta[name="description"] | — | required |
Zod rules
The output schema is projected to JSON Schema to build this table, so the documentation always matches the runtime validation.
| Field | Type | Constraints | Required |
|---|---|---|---|
| headline | string | string, min length 1 | yes |
| author | string | null | string, nullable | yes |
| publishedAt | string | null | string, nullable | yes |
| modifiedAt | string | null | string, nullable | yes |
| tags | array | array, items: string | yes |
| readingTimeMinutes | unknown | — | yes |
| excerpt | string | null | string, nullable | yes |
JSON output
The real record produced by the real engine for the sample document of this recipe. The Zod schema accepted it.
{
"headline": "Static-first scraping without the browser tax",
"author": "Ada Marchetti",
"publishedAt": "2026-10-08",
"modifiedAt": "2026-11-02",
"tags": [
"performance",
"typescript"
],
"readingTimeMinutes": 6,
"excerpt": "Why a plain HTTP request beats a headless browser for most of the documentation on the web."
} CLI invocation
crawlforge fetch https://crawl.cesarcai.dev/blog/static-first-scraping --recipe blog-article --json
Add --db to store the Snapshot, then use
crawlforge diff to compare two revisions of the same page.