Treat 403 like 404 when fetching lyrics

This commit is contained in:
Rafael Moraes
2026-03-29 14:48:51 -03:00
parent c43cff0787
commit dc921a0f33
+1 -1
View File
@@ -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