diff --git a/qobuz_dl/qopy.py b/qobuz_dl/qopy.py index 0a64741..749a42f 100644 --- a/qobuz_dl/qopy.py +++ b/qobuz_dl/qopy.py @@ -71,13 +71,14 @@ class Client: "offset": kwargs["offset"], "extra": "albums", } - elif epoint == "userLibrary/getAlbumsList": + elif epoint == "favorite/getUserFavorites": unix = time.time() r_sig = "userLibrarygetAlbumsList" + str(unix) + kwargs["sec"] r_sig_hashed = hashlib.md5(r_sig.encode("utf-8")).hexdigest() params = { "app_id": self.id, "user_auth_token": self.uat, + "type": "albums", "request_ts": unix, "request_sig": r_sig_hashed, } @@ -189,7 +190,7 @@ class Client: def test_secret(self, sec): try: - r = self.api_call("userLibrary/getAlbumsList", sec=sec) + r = self.api_call("favorite/getUserFavorites", sec=sec) return True except InvalidAppSecretError: return False diff --git a/setup.py b/setup.py index 830ed62..156c219 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ requirements = read_file("requirements.txt").strip().split() setup( name=pkg_name, - version="0.9.9.2", + version="0.9.9.3", author="Vitiko", author_email="vhnz98@gmail.com", description="The complete Lossless and Hi-Res music downloader for Qobuz",