A simple web / api scraping tool for searching for recipe links, inspired by (and possibly for use with) recipe-scapers.
pip install recipe-searchers
from recipe_searchers import search_recipe
result = search_recipe("panna cotta")
print(f"Found results: \n {result}")
search_recipe()
returns an object in the form of:
@dataclass
class SearchResult:
keyword : str
# str = website, List = results
results : Dict[str, List[RecipeLink]]
Where results is a pair of Website for every website it has found results and a list of results.
- allrecipes.com - Through scraping
- bbc.co.uk - Through scraping
- bbcgoodfood.com - Through scraping
- bonappetit.com - Through scraping
- food.com - Through REST API
- thewoksoflife.com - Through scraping