From 345afbf174e3db73252b010d39a4f42ddf09e7af Mon Sep 17 00:00:00 2001 From: alacleaker <50295204+glomatico@users.noreply.github.com> Date: Tue, 16 Apr 2024 21:19:45 -0300 Subject: [PATCH] adjust lyrics checking --- gamdl/downloader_song.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ class DownloaderSong: ) 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(