15.0.0
π π π₯ 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_me
function to the library has been removed from the 15.x series - please migrate to use the recommendedscrape_html
function instead.- This includes removal of the generic
options
arguments that were previously passed torequests
. Please configure the options for your HTTP client (requests
,httpx
,urllib.request
or 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
requests
is no longer a hard dependency of the library, but is available as an optional dependency.responses
is no longer required to run unit tests for the library.
Edit: add missing (and important!) scrapers-removed section.
Edit: section-heading nesting consistency.