mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-29 06:25:34 -04:00
Raise for status in TidalClient
This commit is contained in:
parent
35c8932ffb
commit
f222b32f72
1 changed files with 2 additions and 1 deletions
|
@ -1020,6 +1020,7 @@ class TidalClient(Client):
|
|||
item["albums"] = album_resp["items"]
|
||||
item["albums"].extend(ep_resp["items"])
|
||||
|
||||
logger.debug(item)
|
||||
return item
|
||||
|
||||
def _api_request(self, path: str, params=None) -> dict:
|
||||
|
@ -1036,7 +1037,7 @@ class TidalClient(Client):
|
|||
params["countryCode"] = self.country_code
|
||||
params["limit"] = 100
|
||||
r = self.session.get(f"{TIDAL_BASE}/{path}", params=params)
|
||||
# r.raise_for_status()
|
||||
r.raise_for_status()
|
||||
return r.json()
|
||||
|
||||
def _get_video_stream_url(self, video_id: str) -> str:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue