Comment

Comment by oneeyedpigeon

This really seems to be an exercise in 'structuring recipe data' rather than the ins-and-outs of scraping. Seems like a much-needed task; is there anything approaching a 'standard' for recipe data already?

    "ingredients": [
        "600g pineapple, peeled, chopped"
    ]
This seems like a prime candidate for improvement; something like the following would seem to be more useful:

    "ingredients": [{
        "ingredient": "pineapple",
        "quantity": {
            "value": 600
            "unit": "g",
        },
        "preparation": [ "peeled", "chopped" ]
    }]
Using this kind of data, I can imagine automated ordering, management of several planned recipes in conjunction, personalised timing estimations, etc. I think the whole field of cooking is ripe for some quality api-based disruption!

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton