Skip to content

Scraper issue with directoalpaladar.com #1996

Description

@willyRed77

Recipe URL with the issue:

https://www.directoalpaladar.com/postres/sorbete-de-limon

Which data is not being scraped correctly?
Both ingredients and instructions — the scraper returns "Could not detect ingredients" and "Could not detect instructions".
What should be shown instead?
The page contains a valid ld+json block with recipeIngredient as an array of strings and recipeInstructions as a single plain text string (not an array of HowToStep objects). Both should be parsed correctly.
Example of the ld+json structure used by directoalpaladar.com:
json"recipeIngredient": ["150g Pasta corta seca", "150g Mozzarella fresca", "..."],
"recipeInstructions": "Step 1 text.\n\nStep 2 text.\n\nStep 3 text."

Optional information:

Discovered via Mealie (self-hosted recipe manager), which uses recipe-scrapers under the hood
Use case: importing recipes from URLs into Mealie
Mealie version: 3.19
The issue affects all recipes on directoalpaladar.com, a major Spanish recipe website with a large audience

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions