Skip to content

Conversation

@tom-anders
Copy link
Contributor

No description provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like you are using the HTML parsing for ingredients and instructions. The ingredients are nicely described in the schema, so it could be easier to access it via schema.ingredients (I think super.ingredients() does the same).

The instructions unfortunately are concated in the schema, so your approach is nicer.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it out to extract the ingredients from the schema and they defined it in the schema badly, like "2.0 Ei" and "3.0 Frühlingszwiebel", so again your approach is nicer.
A comment why you are extracting both from the HTML instead of schema would be good.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants