Fix the currently present problem of get_artist_albums not working

This doesn't touch singles at all, as I'm frankly too dumb to figure that out

Fixes #439
This commit is contained in:
Fabian Wunsch 2023-09-25 21:47:47 +02:00 • committed by sigma67
commit 6c6f19df24

View file

@ -252,7 +252,7 @@ class BrowsingMixin:
body = {"browseId": channelId, "params": params}
endpoint = 'browse'
response = self._send_request(endpoint, body)
results = nav(response, SINGLE_COLUMN_TAB + SECTION_LIST_ITEM + GRID_ITEMS)
results = nav(response, SINGLE_COLUMN_TAB + SECTION_LIST_ITEM + CAROUSEL_CONTENTS)
albums = parse_albums(results)
return albums