-
Notifications
You must be signed in to change notification settings - Fork 554
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
Add "A Healthy Slice of Life" site #1413
Conversation
I'm using jj instead of Git and that appears to break the |
Previously called `wild_mode`, this will attempt to pull the recipe schema from sites that aren't explicitly hardcoded, works for lots of site. As an example, [this recipe](https://www.ahealthysliceoflife.com/red-lentil-carrot-curry-recipe/) previously failed, but succeeds with `supported_only=False` (though I'm adding that site explicitly [here](hhursev/recipe-scrapers#1413))
Previously called `wild_mode`, this will attempt to pull the recipe schema from sites that aren't explicitly hardcoded, works for lots of site. As an example, [this recipe](https://www.ahealthysliceoflife.com/red-lentil-carrot-curry-recipe/) previously failed, but succeeds (with minor errors on the ingredients) with `supported_only=False` (though I'm adding that site explicitly [here](hhursev/recipe-scrapers#1413)). I think that's an improvement over nothing, but would be willing to add some messaging to indicate "this site is only kinda supported"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, looks great! Only thing to address outside of the two code comments is the order of the JSON keys. Test files follow a specific order for ease of review which can be applied by running
python .\scripts\reorder_json_keys.py
`black ./recipe_scrapers/ahealthysliceoflife.py`
`python ./scripts/reorder_json_keys.py`
Thanks for the pointers, everything should be addressed! |
Fixes #1412