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:
- 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
Release files for recipe-searchers 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| recipe-searchers-0.0.7.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| recipe_searchers-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.7 kB
Release files / recipe-searchers-0.0.7.tar.gz
| Download URL | recipe-searchers-0.0.7.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e64b60f1cdfacbf9349c8c137e323a725da4f93e9f8ffae353406396fb34dea4
|
|
BLAKE2b-256 checksum How to use checksums |
ae376934480a0f172559dd2aeda484c3b65ebc6823e200fbc5dad87d47589d14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
|
Release files / recipe_searchers-0.0.7-py3-none-any.whl
| Download URL | recipe_searchers-0.0.7-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a40a3c5ec4272530b562aeaa45058789f7f651c012d99e2509f11198d711c82
|
|
BLAKE2b-256 checksum How to use checksums |
e23eb9d4f0596cc6122798903dc50751121988cb49174f08fbe8f6267197b522
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5
|