recipe-scrapers 15.6.0
pip install recipe-scrapers
Released:
Python package, scraping recipes from all over the internet
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT License)
- Author: Hristo Harsev
- Maintainer: Hristo Harsev
- Tags python, recipes, scraper, harvest, recipe-scraper, recipe-scrapers
- Requires: Python >=3.9
-
Provides-Extra:
online
,docs
,tests
,linters
,dev
,all
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
Quick Links
A Python package for extracting recipe data from cooking websites. Parses recipe information from either standard HTML structure, Schema markup (including JSON-LD, Microdata, and RDFa formats) or OpenGraph metadata.
The package provides a simple and consistent API for retrieving data such as ingredients, instructions, cooking times, and more.
Compatible with the Python versions listed above. This package does not circumvent or bypass any bot protection measures implemented by websites.
Installation
pip install recipe-scrapers
Basic Usage
from recipe_scrapers import scrape_me
scraper = scrape_me("https://www.allrecipes.com/recipe/158968/spinach-and-feta-turkey-burgers/")
scraper.title()
scraper.instructions()
scraper.to_json()
# for a complete list of methods:
# help(scraper)
This package is focused exclusively on HTML parsing.
For advanced implementations, you’ll need to implement your own solution for fetching recipe HTMLs and managing network requests. The library works best when you provide both the HTML content and its source domain.
You are encouraged to use our scrape_html method:
from recipe_scrapers import scrape_html
Supported Sites
We support a wide range of recipe websites out of the box. Check our supported sites list for the full list.
You can also get the full list programmatically with:
from recipe_scrapers import SCRAPERS
SCRAPERS.keys()
Contributing
We welcome contributions! Please read our contribution guide to get started.
Special Thanks
To all the contributors who help make this project better!
Share Your Project
Have an idea for using recipe-scrapers? Check out our project ideas wall for inspiration or to share your own project!
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIMeta
- License: MIT License (MIT License)
- Author: Hristo Harsev
- Maintainer: Hristo Harsev
- Tags python, recipes, scraper, harvest, recipe-scraper, recipe-scrapers
- Requires: Python >=3.9
-
Provides-Extra:
online
,docs
,tests
,linters
,dev
,all
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file recipe_scrapers-15.6.0.tar.gz
.
File metadata
- Download URL: recipe_scrapers-15.6.0.tar.gz
- Upload date:
- Size: 118.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0e18542de8564cd925850e49fa14de1ed4fa1479eea41e9a846a8ca6e145c13 |
|
MD5 | e8fc5d9951c090acd520c2d0e20f9756 |
|
BLAKE2b-256 | 869b235c406eb810b98bbf3a34b7edc1a7c00757bb7ea001a2378333ffc7c4e2 |
Provenance
The following attestation bundles were made for recipe_scrapers-15.6.0.tar.gz
:
Publisher:
publish.yaml
on hhursev/recipe-scrapers
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
recipe_scrapers-15.6.0.tar.gz
- Subject digest:
e0e18542de8564cd925850e49fa14de1ed4fa1479eea41e9a846a8ca6e145c13
- Sigstore transparency entry: 179471461
- Sigstore integration time:
- Permalink:
hhursev/recipe-scrapers@54fcf18f70269f3fb8eefc0d87cee222c7a473f4
- Branch / Tag:
refs/tags/15.6.0
- Owner: https://github.com/hhursev
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yaml@54fcf18f70269f3fb8eefc0d87cee222c7a473f4
- Trigger Event:
release
- Statement type:
File details
Details for the file recipe_scrapers-15.6.0-py3-none-any.whl
.
File metadata
- Download URL: recipe_scrapers-15.6.0-py3-none-any.whl
- Upload date:
- Size: 252.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9949b69ce99de7030e18135c6ade73a5d65fa023308d86b1284807bb9a7ac17 |
|
MD5 | 097bee1ea8a8802c4b2af906e455ac86 |
|
BLAKE2b-256 | b72d77be3dc56bfb0dc52e85b4c67002246df0097478c0372e0d228b80549e1d |
Provenance
The following attestation bundles were made for recipe_scrapers-15.6.0-py3-none-any.whl
:
Publisher:
publish.yaml
on hhursev/recipe-scrapers
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
recipe_scrapers-15.6.0-py3-none-any.whl
- Subject digest:
d9949b69ce99de7030e18135c6ade73a5d65fa023308d86b1284807bb9a7ac17
- Sigstore transparency entry: 179471463
- Sigstore integration time:
- Permalink:
hhursev/recipe-scrapers@54fcf18f70269f3fb8eefc0d87cee222c7a473f4
- Branch / Tag:
refs/tags/15.6.0
- Owner: https://github.com/hhursev
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
publish.yaml@54fcf18f70269f3fb8eefc0d87cee222c7a473f4
- Trigger Event:
release
- Statement type: