feat: improved feature artists by also adding writer and producer to it
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
688b4fd357
commit
f61b34dd40
@ -147,7 +147,7 @@ class Genius(Page):
|
|||||||
if primary_artist is not None:
|
if primary_artist is not None:
|
||||||
_artist_name = primary_artist.name
|
_artist_name = primary_artist.name
|
||||||
main_artist_list.append(primary_artist)
|
main_artist_list.append(primary_artist)
|
||||||
for feature_artist in data.get("featured_artists", []):
|
for feature_artist in (*data.get("featured_artists", []), *data.get("producer_artists", []), *data.get("writer_artists", [])):
|
||||||
artist = self.parse_api_object(feature_artist)
|
artist = self.parse_api_object(feature_artist)
|
||||||
if artist is not None:
|
if artist is not None:
|
||||||
featured_artist_list.append(artist)
|
featured_artist_list.append(artist)
|
||||||
|
Loading…
Reference in New Issue
Block a user