diff --git a/mealie/services/scraper/scraper_strategies.py b/mealie/services/scraper/scraper_strategies.py index 752a88e2419b..517672b2db9f 100644 --- a/mealie/services/scraper/scraper_strategies.py +++ b/mealie/services/scraper/scraper_strategies.py @@ -201,7 +201,7 @@ class RecipeScraperPackage(ABCScraperStrategy): recipe_html = await self.get_html(self.url) 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): self.logger.error(f"Recipe Scraper was unable to extract a recipe from {self.url}") return None diff --git a/poetry.lock b/poetry.lock index 48cedeade189..a272d6b5ff2c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2608,20 +2608,22 @@ tests = ["html5lib", "pytest", "pytest-cov"] [[package]] name = "recipe-scrapers" -version = "14.58.0" +version = "15.0.0" description = "Python package, scraping recipes from all over the internet" optional = false python-versions = ">=3.8" files = [ - {file = "recipe_scrapers-14.58.0-py3-none-any.whl", hash = "sha256:dfdd059bb8c6dece6ea3f5249326eeb6c92bae75398d67e4784cf1d6b4890af0"}, - {file = "recipe_scrapers-14.58.0.tar.gz", hash = "sha256:c7df2c8d0764c6a62a76d897fb9b1533c3424f04cc33bff242bb21d3925d1441"}, + {file = "recipe_scrapers-15.0.0-py3-none-any.whl", hash = "sha256:705d4e80bd0471f4fd73c584a551ca94f96521fdb1e766614aaebd32014d72c9"}, + {file = "recipe_scrapers-15.0.0.tar.gz", hash = "sha256:d6fc8c5bacb67b571ac1cbaf4ab77e5f338112c107d40062e0a68403d16b8872"}, ] [package.dependencies] beautifulsoup4 = ">=4.12.3" extruct = ">=0.17.0" isodate = ">=0.6.1" -requests = ">=2.31.0" + +[package.extras] +online = ["requests (>=2.31.0)"] [[package]] name = "regex" @@ -3400,4 +3402,4 @@ pgsql = ["psycopg2-binary"] [metadata] lock-version = "2.0" python-versions = "^3.10" -content-hash = "d2b389e15570fa45314e20d80bce9e47a52a087c17864fb079d90f2028f69efe" +content-hash = "5d39ab54b461c060397045a34475fa0ea7da39e8b8cd1e889aabffde63e8aad6" diff --git a/pyproject.toml b/pyproject.toml index ea86245ba2cf..0e7e1e950415 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ python-dotenv = "^1.0.0" python-ldap = "^3.3.1" python-multipart = "^0.0.9" python-slugify = "^8.0.0" -recipe-scrapers = "^14.55.0" +recipe-scrapers = "^15.0.0" requests = "^2.31.0" tzdata = "^2023.4" uvicorn = { extras = ["standard"], version = "^0.30.0" }