diff --git a/README.rst b/README.rst index 14d723392..0e2da5c9a 100644 --- a/README.rst +++ b/README.rst @@ -59,6 +59,19 @@ then: scraper.links() scraper.nutrients() # if available + # Starting from version 14.0.0 you also have an option to scrape from html-like content + import requests + from recipe_scrapers import scrape_html + + url = "https://www.allrecipes.com/recipe/158968/spinach-and-feta-turkey-burgers/" + html = requests.get(url).content + + scraper = scrape_html(html=html, org_url=url) + + scraper.title() + scraper.total_time() + # etc... + Notes: diff --git a/recipe_scrapers/__version__.py b/recipe_scrapers/__version__.py index b1d793e8e..229469150 100644 --- a/recipe_scrapers/__version__.py +++ b/recipe_scrapers/__version__.py @@ -1 +1 @@ -__version__ = "13.33.0" +__version__ = "14.0.0"