Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to import recipie from rezeptwelt.de #1508

Open
beckenc opened this issue Feb 24, 2023 · 1 comment
Open

Failed to import recipie from rezeptwelt.de #1508

beckenc opened this issue Feb 24, 2023 · 1 comment
Labels
Backend Issue or PR related to the backend code bug Something isn't working php Pull requests that update Php code

Comments

@beckenc
Copy link

beckenc commented Feb 24, 2023

Failing website: https://www.rezeptwelt.de/vorspeisensalate-rezepte/krautsalat-coleslaw-cole-slaw-wie-kfc-rezept-des-tages-030615/mpg69zna-c80ee-867432-cfcd2-m4akss9r

Checking if valid metadata are present:

Yes, I check the source code of the website and found metadata.

Cookbook version: 0.10.1

Problem description (if applicable):

The page cannot be imported. The error message is: ...

When importing, the app responds: "The server reported an error. Please check".
nextcloud.log

@christianlupus christianlupus added bug Something isn't working php Pull requests that update Php code Backend Issue or PR related to the backend code and removed website support labels Mar 17, 2023
@christianlupus
Copy link
Collaborator

The problem lies in the Microdata parser. That parser is currently not built to cope with arbitrary microdata but tries to parse everything as a recipe.

In the provided page, there are multiple trees of data present in the page. These must be hierarchically analyzed and parsed. Then, an interpretation can be made in order to find at least one recipe and store that recipe. See #1244.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Issue or PR related to the backend code bug Something isn't working php Pull requests that update Php code
Projects
None yet
Development

No branches or pull requests

2 participants