diff --git a/mealie/services/scraper/scraper_strategies.py b/mealie/services/scraper/scraper_strategies.py index 95ea2513be6c..752a88e2419b 100644 --- a/mealie/services/scraper/scraper_strategies.py +++ b/mealie/services/scraper/scraper_strategies.py @@ -44,7 +44,9 @@ async def safe_scrape_html(url: str) -> str: """ async with AsyncClient(transport=safehttp.AsyncSafeTransport()) as client: html_bytes = b"" - async with client.stream("GET", url, timeout=SCRAPER_TIMEOUT, headers={"User-Agent": _FIREFOX_UA}) as resp: + async with client.stream( + "GET", url, timeout=SCRAPER_TIMEOUT, headers={"User-Agent": _FIREFOX_UA}, follow_redirects=True + ) as resp: start_time = time.time() async for chunk in resp.aiter_bytes(chunk_size=1024):