mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix(deps): update dependency recipe-scrapers to v15 (#3955)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
parent
23c2eab682
commit
d7b7dd6c83
@ -201,7 +201,7 @@ class RecipeScraperPackage(ABCScraperStrategy):
|
|||||||
recipe_html = await self.get_html(self.url)
|
recipe_html = await self.get_html(self.url)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
scraped_schema = scrape_html(recipe_html, org_url=self.url)
|
scraped_schema = scrape_html(recipe_html, org_url=self.url, supported_only=False)
|
||||||
except (NoSchemaFoundInWildMode, AttributeError):
|
except (NoSchemaFoundInWildMode, AttributeError):
|
||||||
self.logger.error(f"Recipe Scraper was unable to extract a recipe from {self.url}")
|
self.logger.error(f"Recipe Scraper was unable to extract a recipe from {self.url}")
|
||||||
return None
|
return None
|
||||||
|
12
poetry.lock
generated
12
poetry.lock
generated
@ -2608,20 +2608,22 @@ tests = ["html5lib", "pytest", "pytest-cov"]
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "recipe-scrapers"
|
name = "recipe-scrapers"
|
||||||
version = "14.58.0"
|
version = "15.0.0"
|
||||||
description = "Python package, scraping recipes from all over the internet"
|
description = "Python package, scraping recipes from all over the internet"
|
||||||
optional = false
|
optional = false
|
||||||
python-versions = ">=3.8"
|
python-versions = ">=3.8"
|
||||||
files = [
|
files = [
|
||||||
{file = "recipe_scrapers-14.58.0-py3-none-any.whl", hash = "sha256:dfdd059bb8c6dece6ea3f5249326eeb6c92bae75398d67e4784cf1d6b4890af0"},
|
{file = "recipe_scrapers-15.0.0-py3-none-any.whl", hash = "sha256:705d4e80bd0471f4fd73c584a551ca94f96521fdb1e766614aaebd32014d72c9"},
|
||||||
{file = "recipe_scrapers-14.58.0.tar.gz", hash = "sha256:c7df2c8d0764c6a62a76d897fb9b1533c3424f04cc33bff242bb21d3925d1441"},
|
{file = "recipe_scrapers-15.0.0.tar.gz", hash = "sha256:d6fc8c5bacb67b571ac1cbaf4ab77e5f338112c107d40062e0a68403d16b8872"},
|
||||||
]
|
]
|
||||||
|
|
||||||
[package.dependencies]
|
[package.dependencies]
|
||||||
beautifulsoup4 = ">=4.12.3"
|
beautifulsoup4 = ">=4.12.3"
|
||||||
extruct = ">=0.17.0"
|
extruct = ">=0.17.0"
|
||||||
isodate = ">=0.6.1"
|
isodate = ">=0.6.1"
|
||||||
requests = ">=2.31.0"
|
|
||||||
|
[package.extras]
|
||||||
|
online = ["requests (>=2.31.0)"]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "regex"
|
name = "regex"
|
||||||
@ -3400,4 +3402,4 @@ pgsql = ["psycopg2-binary"]
|
|||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.0"
|
lock-version = "2.0"
|
||||||
python-versions = "^3.10"
|
python-versions = "^3.10"
|
||||||
content-hash = "d2b389e15570fa45314e20d80bce9e47a52a087c17864fb079d90f2028f69efe"
|
content-hash = "5d39ab54b461c060397045a34475fa0ea7da39e8b8cd1e889aabffde63e8aad6"
|
||||||
|
@ -33,7 +33,7 @@ python-dotenv = "^1.0.0"
|
|||||||
python-ldap = "^3.3.1"
|
python-ldap = "^3.3.1"
|
||||||
python-multipart = "^0.0.9"
|
python-multipart = "^0.0.9"
|
||||||
python-slugify = "^8.0.0"
|
python-slugify = "^8.0.0"
|
||||||
recipe-scrapers = "^14.55.0"
|
recipe-scrapers = "^15.0.0"
|
||||||
requests = "^2.31.0"
|
requests = "^2.31.0"
|
||||||
tzdata = "^2023.4"
|
tzdata = "^2023.4"
|
||||||
uvicorn = { extras = ["standard"], version = "^0.30.0" }
|
uvicorn = { extras = ["standard"], version = "^0.30.0" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user