feat: fetched the flat artist details
This commit is contained in:
parent
adfce16d2a
commit
46b64b8f8d
@ -199,6 +199,9 @@ class Genius(Page):
|
|||||||
|
|
||||||
artist = self.parse_api_object(data.get("artist", {}))
|
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
|
return artist
|
||||||
|
|
||||||
def _parse_track_element(self, track: dict, artwork: Artwork) -> Optional[Song]:
|
def _parse_track_element(self, track: dict, artwork: Artwork) -> Optional[Song]:
|
||||||
|
Loading…
Reference in New Issue
Block a user