From 12f826607d6ebc10686d750bfa87de2a88c2f62f Mon Sep 17 00:00:00 2001 From: tehkillerbee Date: Thu, 5 Sep 2024 13:20:37 +0200 Subject: [PATCH] Use path to api v2 --- tidalapi/user.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tidalapi/user.py b/tidalapi/user.py index d233070..8512c24 100644 --- a/tidalapi/user.py +++ b/tidalapi/user.py @@ -394,7 +394,9 @@ def mixes(self, limit: Optional[int] = 50, offset: int = 0) -> List["MixV2"]: return cast( List["MixV2"], self.requests.map_request( - url=urljoin("https://api.tidal.com/v2/", f"{self.v2_base_url}/mixes"), + url=urljoin( + self.session.config.api_v2_location, f"{self.v2_base_url}/mixes" + ), params=params, parse=self.session.parse_v2_mix, ),