- Knownframe
- CookDex
- Docs
- v2026.11.2
- Recipe Dredger
Recipe Dredger
Most Mealie tooling waits for you to paste a URL. CookDex can go and find recipes for you. In the web UI, Discover manages the sources it crawls; the crawl itself runs as the recipe-dredger task.
How it finds recipes
Section titled “How it finds recipes”Point it at a recipe site and it reads that site’s robots.txt and sitemap to enumerate candidate pages, then checks each one before importing anything. A page has to actually look like a recipe: CookDex looks for schema.org/Recipe JSON-LD with real ingredients and instructions, and cross-checks with recipe-scrapers, so listicles and how-to posts are rejected rather than imported and cleaned up later. Anything that passes is handed to Mealie’s own scraper.
Polite crawling
Section titled “Polite crawling”It is built to be a polite crawler: robots.txt crawl-delay is honored, with a one-second floor that configuration cannot lower. Sitemaps are cached, and URLs already imported or rejected are skipped on later runs.
The Dredger’s settings are in Settings under Dredger:
| Setting | Default | What it does |
|---|---|---|
Recipe language (DREDGER_TARGET_LANGUAGE) |
en |
Recipes in other languages are skipped. |
Pause between pages (DREDGER_CRAWL_DELAY) |
2.0 seconds |
How long to wait between pages on the same site. A site’s own robots.txt wins when it asks for longer. |
Re-read site maps after (DREDGER_CACHE_EXPIRY_DAYS) |
7 days |
How long a site’s list of recipe pages is reused before it’s read again. |
Preview first
Section titled “Preview first”On Discover, pick At most (how many new recipes one run may import), then click Preview. A preview reports what it would import without writing to Mealie or recording any state. When it looks right, click Import now.
A preview’s pages are examples of what a run finds, not a list of what it will import. Each run visits your sources and their pages in a new random order, so a live run can import different pages from the same sites.
Only recipes with certain tags
Section titled “Only recipes with certain tags”To import only some kinds of recipe, type words in the tagged field next to At most, separated by commas, such as vegan, gluten free. Only recipes the site itself tags with one of them are imported. CookDex reads the tags from the recipe data on the page (its diet, category, cuisine and keywords), so “GlutenFreeDiet”, “Gluten-Free” and “gluten free” all match. Words match whole: “vegan” matches “vegan desserts” but not “veganish”. While the field is filled in, recipes with no tags at all are skipped.
A skipped page isn’t marked as rejected, so a later run with other tags, or none, can still import it. Discover already opens each page to check it’s a recipe, so the filter adds no requests to the sites; it saves the import into Mealie for every recipe that doesn’t match.
While an import runs, Discover shows a banner with a Stop button. Recipes it already imported stay in Mealie.

Task options
Section titled “Task options”| Option | Type | Default | Description |
|---|---|---|---|
dry_run |
boolean | true |
Preview imports without writing to Mealie. |
max_total |
integer | 25 |
New recipes per run: a run stops after this many new recipes from all your sources together. 0 means no limit. |
only_tags |
string | blank | Only recipes tagged: comma-separated words; only recipes the site tags with one of them are imported. Blank imports everything. |
limit |
integer | 50 |
From one site, at most: keeps one site from filling a run on its own. 0 means no limit. |
depth |
integer | 1000 |
Maximum URLs to scan per site sitemap. |
no_cache |
boolean | false |
Ignore cached sitemaps and crawl fresh. |
import_workers |
integer | 2 |
Concurrent import workers, capped at 4. |
precheck_duplicates |
boolean | true |
Fetch existing Mealie recipes first and skip duplicates before import. |
language_filter |
boolean | true |
Skip recipes that do not match DREDGER_TARGET_LANGUAGE. |
max_retry_attempts |
integer | 3 |
Retry transient failures before marking a URL rejected. A page that makes Mealie time out on every try counts against this; connection errors and 502, 503 and 504 answers don’t. |