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

fixed thehappyfoodie ingredient import #613

Merged

Conversation

vabene1111
Copy link
Collaborator

@vabene1111 vabene1111 commented Oct 1, 2022

thehappyfoodie sometimes contains spacers and headers in its ingredient list, with this fix those are ignored so that imports of those recipes no longer fail.

One could think of a way to import a "spacer" or "header" but I feel like people my not expect a parser to return a header in the list of ingredients.

fixes #594

Copy link
Collaborator

@jayaddison jayaddison left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks @vabene1111!

@vabene1111 vabene1111 added the hacktoberfest-accepted Hactoberfest 2022 label Oct 4, 2022
@jayaddison jayaddison merged commit 578d6e8 into hhursev:main Oct 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted Hactoberfest 2022
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index Error for some recipes on happyfoodie.co.uk
2 participants