Skip to main content

recipe-scrapers

Github Version PyPI - Python Version GitHub Actions Unittests Coveralls License

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

Higher-quality image detection is enabled by default when multiple options are available on a page. If you prefer to keep the first image returned by the site, disable the behaviour on a per-call basis or via the global setting:

scraper = scrape_html(html, url, best_image=False)
image_url = scraper.image()

from recipe_scrapers.settings import settings

settings.BEST_IMAGE_SELECTION = False

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!

https://contrib.rocks/image?repo=hhursev/recipe-scrapers

Share Your Project

Have an idea for using recipe-scrapers? Check out our project ideas wall for inspiration or to share your own project!

Metadata

Release files for recipe-scrapers 15.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for recipe-scrapers 15.14.0
File Size Uploaded Provenance Actions
recipe_scrapers-15.14.0.tar.gz 179.0 kB With provenance Details for recipe_scrapers-15.14.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for recipe-scrapers 15.14.0
File Interpreter ABI Platform Actions
recipe_scrapers-15.14.0-py3-none-any.whl Python 3 none any Details for recipe_scrapers-15.14.0-py3-none-any.whl

Total release size: 546.1 kB

Release files / recipe_scrapers-15.14.0.tar.gz

Download URL recipe_scrapers-15.14.0.tar.gz
Size 179.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ad1dee3ddd8044bf83956b91742e10cd4d56fbd10edd59ec19d0b0922bfb18fb
BLAKE2b-256 checksum
How to use checksums
436b283792efb31178aa33e3ea0563ca2b3a65a59cd842558cb2f8378ee5f8f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / recipe_scrapers-15.14.0-py3-none-any.whl

Download URL recipe_scrapers-15.14.0-py3-none-any.whl
Size 367.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a014c0d83d7935b92a77a6abc1b0e7d3d0f0724ca3217f642cb70be885b6df4
BLAKE2b-256 checksum
How to use checksums
a41c41f93925a0af8e62fae862655d5d62f2c89f967e1cc39ce3b56951c23fd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for recipe-scrapers 15.14.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for recipe_scrapers-15.14.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

15.14.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page