adjust lyrics checking

This commit is contained in:
alacleaker 2024-04-16 21:19:45 -03:00
parent c35051a7ec
commit 345afbf174

View File

@ -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(