v0.6.0: Sobors.hu parser, HTTP auth, recipe validation, UI polish
- New sobors.hu parser with ingredient groups and section headers - Incomplete recipe warnings (missing ingredients/instructions) - Optional HTTP Basic Auth (configurable on settings page) - Brand text: "Recept" in white, "Importáló" in blue - Larger logo (36px), favicon using logo_notext.svg Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,7 @@ Docker container for importing recipes from Hungarian websites into [Mealie](htt
|
||||
| mindmegette.hu | Yes | Yes | Yes | Yes |
|
||||
| streetkitchen.hu | Yes (with groups) | Yes (ol/ul/paragraph) | Yes | Yes (from JSON-LD categories) |
|
||||
| nosalty.hu | Yes (with groups) | Yes (with section headers) | Yes | Yes |
|
||||
| sobors.hu | Yes (with groups) | Yes (with section headers) | Yes | Yes |
|
||||
| *Other sites* | Fallback (schema.org JSON-LD) | Fallback (schema.org JSON-LD) | Yes (og:image) | Fallback (schema.org keywords) |
|
||||
|
||||
### Mindmegette.hu Parser
|
||||
@@ -81,6 +82,18 @@ Extracts data from the nosalty.hu recipe pages:
|
||||
- **Instructions**: `div#select` → `ol.m-list__list > li.m-list__item` steps; optional `<h4 class="m-list__title">` section headers
|
||||
- **Tags**: `<a class="m-tags__tagItem">` inside `div.p-recipe__attributeList`
|
||||
|
||||
### Sobors.hu Parser
|
||||
|
||||
Extracts data from the sobors.hu recipe pages:
|
||||
|
||||
- **Title**: `h3.recept_nev`
|
||||
- **Description**: `og:description` meta tag
|
||||
- **Image**: `og:image` meta tag
|
||||
- **Ingredients**: `div.hozzavalok-container` → `section` elements with `ul > li`, each containing `span.mennyiseg` (qty), `span.mertekegyseg` (unit), `span.hozzavalo` (food)
|
||||
- **Ingredient groups**: `section > h4` headers (e.g., "A szószhoz:", "A húsgolyókhoz:")
|
||||
- **Instructions**: `div.recept_leiras` → `<p>` tags, with `<h3><strong>` section headers
|
||||
- **Tags**: `div.cikk-cimkek > ul.cikk-cimkek-list > li > a` (skips generic "Receptek" category)
|
||||
|
||||
### Generic Fallback Parser
|
||||
|
||||
For unsupported sites, attempts extraction via:
|
||||
|
||||
Reference in New Issue
Block a user