feat: fetched the flat artist details

This commit is contained in:
Hazel 2024-05-21 16:23:05 +02:00
parent adfce16d2a
commit 46b64b8f8d

View File

@ -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