From 4f5d1cf1b46a6d20a500fdf5f8323705ce34e178 Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sat, 28 Mar 2026 20:13:23 -0500 Subject: [PATCH] fix: Disable SSL verify when scraping sites for recipe data (#7356) --- mealie/services/scraper/scraper_strategies.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mealie/services/scraper/scraper_strategies.py b/mealie/services/scraper/scraper_strategies.py index 924bb1b4c..1a97b4198 100644 --- a/mealie/services/scraper/scraper_strategies.py +++ b/mealie/services/scraper/scraper_strategies.py @@ -76,7 +76,10 @@ async def safe_scrape_html(url: str) -> str: html_bytes = b"" response = None - transport = safehttp.AsyncSafeTransport(impersonate=impersonation) + transport = safehttp.AsyncSafeTransport( + impersonate=impersonation, + verify=False, # disable SSL verification since we can handle untrusted data and some sites don't have certs + ) async with AsyncClient(transport=transport) as client: async with client.stream( "GET",