smartFreshBear / RecipeGrabber

Apache License 2.0
1 stars 2 forks source link

RecipeGrabber

An API that given a url that points to website with a recipe, filtering all the "blah blah blah" before and after the recipe (ingredients and instructions) and returning the recipe itself.

The purpose of this web service is to:

How to run the project? Mind that the instruction are for macOs/Linux. regarding Windows, welcome to add!

curl --location --request POST 'http://localhost:5000 /find_recipe_in_url/' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'url=https://www.yehudit-aviv.co.il/%D7%9E%D7%A8%D7%A7%D7%99%D7%9D/%D7%A7%D7%95%D7%A1%D7%A7%D7%95%D7%A1-%D7%9E%D7%94%D7%AA%D7%97%D7%9C%D7%94-%D7%95%D7%A2%D7%93-%D7%94%D7%A1%D7%95%D7%A3%D7%A3%D7%A3%D7%A3/' \
--data-urlencode 'instructions=true' \
--data-urlencode 'ingredients=true'