mirror of
https://github.com/glomatico/votify.git
synced 2026-10-05 23:42:50 +02:00
Treat 403 like 404 when fetching lyrics
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user