Web fetching
Mirepoix fetches web pages under two names: Mirepoix-Import, when a person asks it to import a recipe from a link, and Mirepoix-Crawl, a slow crawler the operator runs over a short list of recipe sites. This page is for a cook whose link was declined and for a site operator who found either name in a server log.
If your link was declined
Mirepoix reads a site’s robots.txt before opening a page. When a rule there covers your page, Mirepoix doesn’t open it, and Add Recipe says the site’s robots.txt asks automated readers not to open that page. That’s the site’s choice, so retrying won’t help. Instead:
- Use the import bookmarklet. It reads the page in your own browser, as a person. Set it up once in Settings.
- Paste the recipe text into Add Recipe.
The same two fixes work for a site that turns automated readers away outright. See When a page won’t open.
For site operators
An import sends:
Mirepoix-Import/1.0 (+https://help.mirepoix.recipes/web-fetching/)
The crawler sends:
Mirepoix-Crawl/1.0 (+https://help.mirepoix.recipes/web-fetching/#mirepoix-crawl)
with a From: crawler-feedback@mirepoix.recipes header. An import sends no From header.
The product tokens are Mirepoix-Import and Mirepoix-Crawl. They’re separate so you can turn the crawler away and still let your readers import your recipes.
Import traffic is user-initiated
Mirepoix-Import is not a crawler. Each request comes from a signed-in person who pasted or shared that link, opened that page from a web search in Mirepoix and then asked to import it, or sent the page from their browser. It doesn’t follow links, queue later visits, or open any address the person didn’t send.
A page sent from a browser arrives already loaded, so Mirepoix doesn’t fetch it again. One that Mirepoix’s operator sends to test imports is fetched once more, under the same name and rules.
The only other fetch is the recipe’s own photo, named in the page’s recipe data, under the same name and rules: once for the draft, and again if the person saves the recipe.
Each fetch is a GET over HTTP or HTTPS on the standard ports. It follows a handful of redirects at most, stops reading past 2 MB for a page or 5 MB for a photo, and gives up on a slow page.
What imports honor in robots.txt
Mirepoix asks for /robots.txt on the page’s origin, with the same User-Agent, and declines any path a matching rule disallows. A redirect target is checked the same way before it’s opened. It reads:
- The group naming
Mirepoix-Import, or else theUser-agent: *group. AllowandDisallowlines. The longest matching pattern wins; a tie goes toAllow.*and$wildcards.- An empty
Disallow:, meaning nothing is disallowed.
It ignores Crawl-delay and Sitemap, and reads the first 500 KB of a long file.
A robots.txt it could read is cached for an hour per origin, and so is a 4xx answer, read as allowing everything. One that errored or didn’t answer isn’t cached, so the next import asks again.
An import fails open: if /robots.txt is missing, errors, or doesn’t answer, Mirepoix opens the page.
Turn imports away
User-agent: Mirepoix-Import
Disallow: /
Within an hour, Mirepoix declines every page on the origin and tells the person to bring the recipe another way. Disallow a path instead of / to cover one section.
A User-agent: * rule that covers the path turns Mirepoix away too. Use a Mirepoix-Import group when you want Mirepoix treated differently from other automated readers. Shutting Mirepoix-Import out of the whole site with Disallow: / also turns the crawler away.
Mirepoix-Crawl
Mirepoix-Crawl reads a small sample of recipe pages on a short list of sites, each reviewed for its robots.txt and terms before it’s added. It keeps each recipe’s name and ingredient list, so the operator can test how Mirepoix reads ingredient lines. What it keeps stays on the operator’s own machine, outside the app, and is never published or shown to anyone using Mirepoix.
What it reads
On a site it may crawl, in this order:
- Your
robots.txt, fresh each run, never cached. - Your terms page, if you had one at review. If it changed or doesn’t load, the crawler stops and takes nothing until your site is reviewed again.
- Your sitemaps: the
Sitemap:lines inrobots.txt, or else/sitemap.xml, or else/sitemap_index.xml. It follows an index one level down and reads at most 10 sitemaps a run. A sitemap may be on any host yourrobots.txtnames, but every page it takes must be on your own site. - A random sample of recipe pages from your sitemap. It skips addresses with a query string, print views, AMP pages, and anything your
robots.txtdisallows forMirepoix-Crawl.
It reads each page once, ever: at most 30 pages from your site per run and 60 in its whole life, and never more than a quarter of the pages your sitemap lists. After 60, it sends your site nothing more, not even a robots.txt request.
Every request is a GET over HTTP or HTTPS on the standard ports. It follows a handful of redirects, but never to another host (www. and the bare domain count as one). It stops reading a page past 2 MB, or a sitemap past 50 MB.
What it keeps
- The ingredient lines, from your recipe data and your recipe card, with group headings such as “For the sauce”.
- The recipe’s name, from your recipe data.
- The page’s address, where it landed after redirects, when it was read, and your status code.
A short note on a line, such as “divided”, stays with it. A note over 80 characters becomes [note omitted] when it’s in parentheses, after a comma, or in a WP Recipe Maker note field.
Nothing else is kept: no HTML, steps, story, comments or photos.
Its pace
It waits at least 15 seconds between requests to your site, or longer if your robots.txt asks. It takes the largest Crawl-delay in any group of any of your robots.txt files (HTTP and HTTPS, with and without www., and any sitemap host), from the request after it reads each one. Its first request to your site at any start or restart also waits 15 seconds. The two exceptions: its first robots.txt read waits 15 seconds but not your Crawl-delay, and it follows a redirect from /robots.txt straight away.
It sends one request at a time, takes turns between sites, and retries nothing within a run. It stops on your site when:
- You answer 429 or 503. It waits out your
Retry-After, or 24 hours without one. - You answer 401 or 403. It waits until your site is reviewed again.
- Two server errors (5xx) come in a row. It waits 24 hours.
- Two page requests in a row time out or can’t connect. It stops for that run.
The same holds when your robots.txt itself answers 401, 403, 429 or 503.
Turn the crawler away
Any of these stops it:
-
A
Mirepoix-Crawlgroup inrobots.txt.User-agent: Mirepoix-Crawl Disallow: /Disallow a path instead of
/to keep it out of one section. With noMirepoix-Crawlgroup, the*group applies. AMirepoix-Crawlgroup can’t open a site whose*group disallows/, because the names below still fall back to it. Disallow: /forMirepoix-Importor any of these AI agents: ClaudeBot, Claude-User, Claude-SearchBot, anthropic-ai, GPTBot, ChatGPT-User, OAI-SearchBot, CCBot, Google-Extended, PerplexityBot, Bytespider and meta-externalagent. The agent’s own group counts, and so does a*group disallowing/when the agent has none. Keeping one of them out of only part of your site doesn’t stop the crawler.- A
Content-Signalline withai-train=noorsearch=no. Other keys, such asai-input, don’t. - A
robotsmeta tag orX-Robots-Tagheader withnoaiornoimageai. This works page by page: it fetches the page, sees the tag, and keeps nothing. - A
robots.txtit can’t read. The crawler fails closed: no answer, or an error other than 404 or 410, means it crawls nothing that run. A 404 or 410 means you have norobots.txt, so nothing is disallowed.
It checks these rules in every robots.txt it reads for your site, and never sends a request one of them turns away, even partway through a redirect. A change takes effect on its next run.
Have what it took deleted
Email crawler-feedback@mirepoix.recipes and name your site. That address also takes any other question or complaint. The operator marks your site as refused, so from the next run the crawler sends it nothing, then deletes the ingredient lists it kept. The visited page addresses stay in its run records, only so it never comes back.
See also
- Add a recipe from a link, text, or photo — importing a recipe from a link
- Data and privacy — what leaves your kitchen, and what doesn’t
Last updated November 30, 2026