diff --git a/gamdl/downloader_song.py b/gamdl/downloader_song.py index 2ad1055..882c056 100644 --- a/gamdl/downloader_song.py +++ b/gamdl/downloader_song.py @@ -187,7 +187,7 @@ def get_lyrics(self, track_metadata: dict) -> Lyrics: ) if ( track_metadata["relationships"].get("lyrics") - and track_metadata["relationships"]["lyrics"]["data"] + and track_metadata["relationships"]["lyrics"].get("data") and track_metadata["relationships"]["lyrics"]["data"][0].get("attributes") ): lyrics = self._get_lyrics(