Closed mlduff closed 1 month ago
I couldn't find language
info in the API response -- some mentions of country code, although I don't know whether that refers to the web client or to the recipe. Perhaps we could retrieve language info from the HTML page in this scraper, despite much of the other info being from the API?
I'm not really sure this is a recipe - the information from the page/API seem more like the description of a packaged food product to me.
Yeah, from what I read/understand @mlduff - YouFoods are a provider of pre-packaged, ready-meal products? No doubt they have recipes (trade secrets even, perhaps) that they follow when they're creating and preparing the food, but I think the preparation process that the consumer follows (in this example, microwaving) is fairly tightly-coupled to their product. It'd be difficult to go to the shops, buy the constituent ingredients (incl crushed tomato, tomato paste, etc from the packaging ingredient list), and follow the same instructions
as found here for example. Feel free to disagree, but I don't feel comfortable merging this.
This PR adds support for youfoodz.com, with https://www.youfoodz.com/recipes/nonnas-spaghetti-bolognese-with-italian-herbs-and-garlic-300g-660a602770e8f6aef4341177 as the test recipe. The most challenging part of this implementation is having to extract the access token from the original HTML, however the upside is all the data is then available easily from an API endpoint.
Resolves https://github.com/hhursev/recipe-scrapers/issues/1120