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

@ -199,6 +199,9 @@ class Genius(Page):
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
def _parse_track_element(self, track: dict, artwork: Artwork) -> Optional[Song]: