Re:Show HN: An API for scraping recipe web pages
by tinebak on Tuesday July 18, 2017 @08:01AM
(#14795795)
I'm working on this and finding that it's a lot of work (and code) to identify the actual ingredient. Consider "all-purpose sifted flour." That's the same ingredient as "plain flour." So (so!) many ways to write the same ingredient. I'm getting there, though :)
I gave up on the project pretty quickly (now I'm really tempted to pick it up again), but you can definitely get 90% of the way there with 10% of the effort:
https://github.com/cronin101/DataChef/blob/master/utils/ingr...