diff --git a/CHANGELOG.md b/CHANGELOG.md index d772e3a..241d7f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,37 @@ # Changelog +## v0.5.0 (2026-02-24) + +### Added +- Bulk import: paste multiple URLs, choose review-each or auto-import mode +- Tag option for auto mode: import all scraped tags or none +- Progress table with per-recipe status tracking (pending, scraping, done, error, skipped, duplicate) +- Import targets: Mealie, Tandoor, or both simultaneously +- "Auto-import remaining" button to switch from review to auto mid-way +- Supported sites displayed in the UI + +## v0.4.0 (2026-02-24) + +### Added +- Nosalty.hu parser: ingredients (with groups), instructions (with section headers), tags, story as description + +## v0.3.2 (2026-02-24) + +### Fixed +- Quantity ranges (e.g. "2-3") now handled correctly in both Mealie and Tandoor clients + +## v0.3.1 (2026-02-24) + +### Fixed +- StreetKitchen: parenthesised notes in food names now extracted to the extra field + +## v0.3.0 (2026-02-24) + +### Added +- StreetKitchen.hu parser with three instruction formats (ol/ul/paragraph) +- Ingredient quantity+unit splitting for merged strings (e.g. "200g") +- Ingredient group support via h5 headers + ## v0.1.0 (2026-02-23) ### Added diff --git a/README.md b/README.md index f4697eb..422c686 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Docker container for importing recipes from Hungarian websites into [Mealie](htt **Problem**: Mealie's and Tandoor's built-in URL import cannot parse ingredients and instructions from Hungarian recipe sites like mindmegette.hu. -**Solution**: This container provides a web UI that scrapes Hungarian recipe pages with site-specific parsers, lets you review and edit the extracted data, then pushes it to Mealie and/or Tandoor via their REST APIs. +**Solution**: This container provides a web UI that scrapes Hungarian recipe pages with site-specific parsers, lets you review and edit the extracted data, then pushes it to Mealie and/or Tandoor via their REST APIs. Supports both single recipe import and bulk import of multiple URLs. ## Architecture @@ -14,7 +14,7 @@ Docker container for importing recipes from Hungarian websites into [Mealie](htt │ │ │ Flask + Gunicorn │ │ ├── /settings → Configure Mealie & Tandoor │ -│ ├── /import → Paste URL, scrape, review │ +│ ├── /import → Single or bulk import │ │ ├── /scrape → AJAX: parse recipe HTML │ │ ├── /send → AJAX: push to Mealie API │ │ ├── /send-tandoor → AJAX: push to Tandoor API │ @@ -93,6 +93,19 @@ For unsupported sites, attempts extraction via: 2. The function receives `(soup: BeautifulSoup, url: str)` and returns the standard recipe dict 3. The hostname substring is matched against the URL — first match wins, unmatched URLs use the generic fallback +## Bulk Import + +The "Tömeges importálás" (Bulk Import) tab allows importing multiple recipes at once: + +1. Paste one URL per line in the textarea +2. Choose a mode: + - **Review mode** — edit each recipe before importing, with option to switch to auto mid-way + - **Auto mode** — scrape and import all recipes without manual review (with tag option: import all tags or none) +3. Select target: Mealie, Tandoor, or both +4. Progress table tracks per-recipe status (pending, scraping, importing, done, error, skipped, duplicate) + +All processing is done client-side, calling the existing `/scrape` and `/send` / `/send-tandoor` endpoints sequentially. + ## Mealie API Integration The importer uses the Mealie REST API: