From 8f2a31a53415b332ac6ab59d0170f4618fe60b9e Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 11 May 2024 10:08:12 +0000 Subject: [PATCH] Fix assigning cookies to wrong variable --- custom_components/multiscrape/coordinator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/multiscrape/coordinator.py b/custom_components/multiscrape/coordinator.py index b526a5c..d9fa777 100644 --- a/custom_components/multiscrape/coordinator.py +++ b/custom_components/multiscrape/coordinator.py @@ -80,7 +80,7 @@ async def get_content(self) -> str: ex, ) - response = await self._http.async_request("page", resource, self._cookies) + response = await self._http.async_request("page", resource, cookies=self._cookies) return response.text