🍗 🍚 🥘 15.0.0 🍏 🥕 🍅
Welcome to version 15.0.0 of recipe-scrapers, a simple scraping tool for recipe webpages.
This version is a major version upgrade, and contains some breaking changes from the 14.x series.
In particular:
- The
scrape_mefunction to the library has been removed from the 15.x series - please migrate to use the recommendedscrape_htmlfunction instead.- This includes removal of the generic
optionsarguments that were previously passed torequests. Please configure the options for your HTTP client (requests,httpx,urllib.requestor other) directly. - If you need more time to migrate: don't worry, the 14.x series will continue to be maintained and updated until we're comfortable that the upgraded version is in regular use.
- This includes removal of the generic
To get started and for usage examples, see the README file.
Features
- Support for America's Test Kitchen, Cook's Country, and Cook's Illustrated have been added (#1060) - thank you, @smilerz!
Scrapers removed
Unfortunately the updated scraper interface is more restrictive, by-design, than 14.x - each scraper accepts an individual HTML page as input, and should not directly make additional HTTP requests. During adaptation to this interface, we dropped support for the following scrapers:
- coop.se
- gousto.co.uk
- kptncook.com
- madewithlau.com
- marleyspoon.com
- monsieur-cuisine.com
- woolworths.com.au
This makes scrapers simpler, and that means they're easier to review and support. But it is a trade-off against the coverage of recipe sites that we can achieve.
Dependencies removed
requestsis no longer a hard dependency of the library, but is available as an optional dependency.responsesis no longer required to run unit tests for the library.
Edit: add missing (and important!) scrapers-removed section.
Edit: section-heading nesting consistency.