AbstractAbstract ReadonlyidUnique identifier for this provider
Abstract ReadonlynameDisplay name for this provider
Abstract ReadonlylogoURL to the provider's logo image
AbstractgetGets the base URL for this provider based on user locale
Promise resolving to the provider's base URL
AbstractdiscoverDiscovers all recipe category URLs from the provider
The provider's base URL
Optionalsignal: AbortSignal
Optional abort signal for cancellation
Promise resolving to array of category page URLs
AbstractextractExtracts recipe links from an HTML page
Raw HTML content of a page
Array of discovered recipe links with optional title and image
Discovers recipe URLs from the provider with streaming progress
Scans category pages in batches and yields progress updates as recipes are found. Automatically retries pages that appear rate-limited.
Discovery options including abort signal and max recipes
Returns true if this provider can handle the given recipe source URL
Default implementation returns false. Subclasses should override to check whether the URL belongs to their domain.
Recipe source URL to test
false by default
Extracts a real image URL directly from page HTML, without invoking the recipe scraper.
Default implementation returns null, signalling the caller (typically
useRecipeScraper) to fall back to the scraper-based image. Subclasses
may override when they have a cheaper or more reliable path (for example,
Quitoque returns a placeholder via the scraper but exposes the real image
in JSON-LD schema markup).
Raw HTML content of the recipe page
Image URL when found via the provider-specific path, otherwise null
ProtectedfetchProtecteddelayDelays execution for rate limiting
Milliseconds to delay
Promise that resolves after the delay
PrivatecreateCreates initial discovery state
PrivatecreateCreates a progress update object from current state
PrivatescanScans category pages in batches and yields progress updates
PrivatefetchFetches a batch of category pages concurrently
PrivateprocessProcesses results from a batch of category page fetches
PrivateprocessProcesses a successfully fetched category page
PrivateprocessProcesses a failed category page fetch
PrivateaddAdds discovered recipe links to state, avoiding duplicates
PrivateretryRetries empty pages that appeared before the last successful page (likely rate-limited)
PrivateexecuteExecutes a single retry attempt for failed pages
PrivatecombineCombines two abort signals into one
Creates a new abort signal that triggers when either input signal aborts.
First abort signal
Second abort signal
Combined abort signal
Abstract base class for recipe providers
Implements the RecipeProvider interface with common functionality for discovering recipe URLs and identifying provider ownership. Subclasses must implement provider-specific URL extraction and may override extractImageFromHtml when they have a faster path than the default scraper-based extraction performed by
useRecipeScraper.