Update README and CHANGELOG for v0.4.0-v0.5.0
Document bulk import feature, nosalty.hu parser, streetkitchen parser, and quantity range handling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user