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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| recipe-searchers-0.0.7.tar.gz | 6.0 kB | Without provenance | Details for recipe-searchers-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| recipe_searchers-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for recipe_searchers-0.0.7-py3-none-any.whl |
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
|
Security for recipe-searchers 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.