feat: fetched the flat artist details
This commit is contained in:
parent
adfce16d2a
commit
46b64b8f8d
@ -198,6 +198,9 @@ class Genius(Page):
|
|||||||
data = json.loads(content)
|
data = json.loads(content)
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user