diff --git a/src/cogs/restauration.py b/src/cogs/restauration.py index 55c3007..b86b10f 100644 --- a/src/cogs/restauration.py +++ b/src/cogs/restauration.py @@ -71,7 +71,7 @@ async def get_imgs(self) -> tuple[tuple[str, ...], tuple[str, ...]]: A tuple with fr:MENUs, and a second tuple with fr:ALLERGENES. """ async with httpx.AsyncClient() as client: - result = await client.get("https://lycee-kleber.com.fr/restauration") + result = await client.get("https://lycee-kleber.com.fr/restauration", follow_redirects=True) page = result.text scrap = BeautifulSoup(page, "html.parser")