From a3ec1f86bc0631bc20df6c57449aa97a79d0fd81 Mon Sep 17 00:00:00 2001 From: stabbedbybrick <125766685+stabbedbybrick@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:05:49 +0200 Subject: [PATCH] fix(DSCP): Set base URL --- services/DSCP/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/services/DSCP/__init__.py b/services/DSCP/__init__.py index a7e4f65..6a19f81 100644 --- a/services/DSCP/__init__.py +++ b/services/DSCP/__init__.py @@ -73,6 +73,7 @@ class DSCP(Service): self.session.cookies.update(cookies) + self.base_url = None info = self._request("GET", "https://global-prod.disco-api.com/bootstrapInfo") self.base_url = info["data"]["attributes"].get("baseApiUrl")