From 6c6f19df24b21c114300a0cacb48fbfb30f6012f Mon Sep 17 00:00:00 2001 From: Fabian Wunsch Date: Mon, 25 Sep 2023 21:47:47 +0200 Subject: [PATCH] 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 --- ytmusicapi/mixins/browsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ytmusicapi/mixins/browsing.py b/ytmusicapi/mixins/browsing.py index bec7a56..5a1e25b 100644 --- a/ytmusicapi/mixins/browsing.py +++ b/ytmusicapi/mixins/browsing.py @@ -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