recipe-scrapers
Python package, scraping recipes from all over the internet
What it is and what it does
recipe-scrapers is a Python library that extracts structured recipe data from cooking websites. It parses recipe information from standard HTML structure, Schema.org markup (JSON-LD, Microdata, RDFa), and OpenGraph metadata, providing a consistent API to retrieve ingredients, instructions, cooking times, images, and other recipe fields. The library handles the parsing layer only—you supply the HTML content and its source domain, and it returns structured data via methods like title(), instructions(), and to_json().
The package is focused exclusively on HTML parsing and does not handle network requests or bot protection circumvention. It supports current Python versions (3.10 through 3.14) and works with a wide range of recipe websites out of the box. Higher-quality image detection is enabled by default but can be disabled per-call or globally.
Use it for:
- Build a recipe collection app that imports recipes from multiple cooking websites into a unified database.
- Scrape recipe metadata to power a meal-planning or nutrition-tracking tool.
- Extract recipe instructions and ingredients for offline recipe storage or mobile app content.
- Aggregate recipe data from multiple sources for comparison or analysis.
- Integrate recipe parsing into a cooking assistant or kitchen app.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Extracts structured recipe data (ingredients, instructions, cooking times, images) from cooking websites by parsing HTML, Schema.org markup, and OpenGraph metadata.
Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It solves a specific, well-defined problem—parsing recipe data from HTML—with a simple API and support for multiple markup standards. Install it if you need to extract recipe information from websites; skip it if you don't need recipe parsing.
Install
recipe-scrapers on PyPI
pip
pip install recipe-scrapersuv
uv add recipe-scraperspoetry
poetry add recipe-scrapersInstalling recipe-scrapers
Before you install
Low friction install with three lightweight dependencies. Actively maintained as of 2026-08-14 with recent release history; no known vulnerabilities.
License in practice
MIT License permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install recipe-scrapers
from recipe_scrapers import scrape_me
scraper = scrape_me("https://www.allrecipes.com/recipe/158968/spinach-and-feta-turkey-burgers/")
print(scraper.title())
print(scraper.instructions())
Requires Python 3.10 or later. You must provide your own HTML fetching and network request handling; the library parses HTML you supply.
Verify before relying
- Exact count of supported recipe websites beyond 'wide range'
- Whether all Schema.org formats (JSON-LD, Microdata, RDFa) are equally well-supported across sites
- Performance characteristics when scraping large recipe collections
Package facts
| License | MIT License (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — beautifulsoup4, extruct, isodate |
| Maintenance | actively maintained — 6 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 97,483/month — #13,149 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: recipe_scrapers-15.12.0-py3-none-any.whl
Keywords: python, recipes, scraper, harvest, recipe-scraper, recipe-scrapers
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
extructExtracts structured metadata from HTML markup…
permissive · top 15,000 on PyPI
oelint-parserParses BitBake recipe files and provides…
permissive · top 15,000 on PyPI
ScrapyScrapy is a web scraping framework that…
permissive · top 5,000 on PyPI
linkpreviewExtracts preview metadata (title, description,…
permissive · top 15,000 on PyPI
Crawl4AICrawl4AI is an async web crawler and scraper…
permissive · top 5,000 on PyPI
shot-scraperA CLI tool that automates taking screenshots of…
permissive · top 15,000 on PyPI
BeautifulSoupBeautiful Soup parses HTML and XML documents…
permissive · top 15,000 on PyPI
mlcroissantValidates and loads datasets described in the…
unclear · top 15,000 on PyPI
scraplingScrapling is a web scraping and crawling…
permissive · top 5,000 on PyPI