fix(DSCP): Set base URL
This commit is contained in:
parent
4431ebec31
commit
a3ec1f86bc
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user