From 46b64b8f8dfa2436c9ed103e19c243fef264747b Mon Sep 17 00:00:00 2001 From: Lars Noack Date: Tue, 21 May 2024 16:23:05 +0200 Subject: [PATCH] feat: fetched the flat artist details --- music_kraken/pages/genius.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/music_kraken/pages/genius.py b/music_kraken/pages/genius.py index 7c3af73..f37715b 100644 --- a/music_kraken/pages/genius.py +++ b/music_kraken/pages/genius.py @@ -198,6 +198,9 @@ class Genius(Page): data = json.loads(content) artist = self.parse_api_object(data.get("artist", {})) + + for e in data.get("artist_albums", []): + artist.album_collection.append(self.parse_api_object(e)) return artist