From dc921a0f33e1d718590468e64dc23e6e2ef54ee2 Mon Sep 17 00:00:00 2001 From: Rafael Moraes <50295204+glomatico@users.noreply.github.com> Date: Sun, 29 Mar 2026 14:48:51 -0300 Subject: [PATCH] Treat 403 like 404 when fetching lyrics --- votify/interface/song.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/votify/interface/song.py b/votify/interface/song.py index 0170bcc..5bc771f 100644 --- a/votify/interface/song.py +++ b/votify/interface/song.py @@ -91,7 +91,7 @@ class SpotifySongInterface(SpotifyAudioInterface): try: lyrics_response = await self.api.get_lyrics(track_id) except VotifyRequestException as e: - if e.response_status_code != 404: + if e.response_status_code not in {404, 403}: raise e return