It really successfully imports and de-clutters recipes from any and all recipe sites I've thrown at it. Ben Awad, the programmer behind Saffron, actually posted about their scraping technique on HN to significant success: https://www.benawad.com/scraping-recipe-websites/ (https://news.ycombinator.com/item?id=23142220) Their UX is unmatched, they've got apps for iOS and Android in addition to the web app itself. Undoubtedly one of my favorite pieces of software.
I'm curious how you wrote the logic for recipe detection? I've know some others who've tried to solve this and like many pattern recognition tasks it turns out to be harder than you'd think, but not impossible of course. Just curious how you did it.
So schema.org has a standard json schema for recipes. Crawlers use this information to parse and figure out what kind of content lives on the page.
Since google encourages this and ranks pages with schema higher, all recipe blogs and sites add this schema to their html. This is structured data. I just parse this json. Not all recipes follow this though. So you may occasionally see error messages for old sites that have not implemented schema.org structure.
I have to admit that recipes are valuable enough to me that I'm OK with the crap at the top. It's annoying, but it's an endearing kind of annoyance. The way I see it, they're providing a service and if they want to do it in this stupid way I'll go along with it, especially since the content isn't exactly horrible, it's just silly and inane and somehow adds to the whole cooking experience.
Sometimes the stuff I'm cooking actually turns out differently because of all the mad scrolling I do trying to find the next ingredient to add while my sauce pan is boiling over or whatever. Kindof fun. Last, recipe books are a great way to get around this crap, and then you're actually paying for the knowledge you use.
If you are looking for a way to tame your recipes look into Paprika [0]. It can import/scrape recipes from any site and lets you organize them and save them for later. You can use it to build a shopping list, meal plan, track what you have on hand, and more. I always make a point to mention it on posts related to recipes since it's the best app I've found for recipes and worth every penny (no subscriptions, 1-time purchase). You can also export your recipes and share them with other people (last I checked the export file was essentially a zip with JSON inside and the pictures).
Comments (345) 82 threads
Earlier commentsIt really successfully imports and de-clutters recipes from any and all recipe sites I've thrown at it. Ben Awad, the programmer behind Saffron, actually posted about their scraping technique on HN to significant success: https://www.benawad.com/scraping-recipe-websites/ (https://news.ycombinator.com/item?id=23142220)
Their UX is unmatched, they've got apps for iOS and Android in addition to the web app itself. Undoubtedly one of my favorite pieces of software.
Since google encourages this and ranks pages with schema higher, all recipe blogs and sites add this schema to their html.
This is structured data. I just parse this json.
Not all recipes follow this though. So you may occasionally see error messages for old sites that have not implemented schema.org structure.
Sometimes the stuff I'm cooking actually turns out differently because of all the mad scrolling I do trying to find the next ingredient to add while my sauce pan is boiling over or whatever. Kindof fun.
Last, recipe books are a great way to get around this crap, and then you're actually paying for the knowledge you use.
[0] https://www.paprikaapp.com/
All comments shown.
Couldn't load more comments. Check your connection and try again.