Skip to content

MichielMag/recipe-searchers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

recipe-searchers

A simple web / api scraping tool for searching for recipe links, inspired by (and possibly for use with) recipe-scapers.

To install

pip install recipe-searchers

To use

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.

Searchers available for:

About

Python package for searching for recipes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages