Skip to content

Commit

Permalink
Update README and major version bump to 14.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hhursev committed May 23, 2022
1 parent 0073d3c commit 1e99c0e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
2 changes: 1 addition & 1 deletion recipe_scrapers/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "13.33.0"
__version__ = "14.0.0"

0 comments on commit 1e99c0e

Please sign in to comment.