fix(DSCP): Set base URL

This commit is contained in:
stabbedbybrick 2024-08-01 17:05:49 +02:00
parent 4431ebec31
commit a3ec1f86bc

View File

@ -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")