mirror of
https://github.com/glomatico/votify.git
synced 2026-10-27 09:12:36 +01:00
Log error and warning for invalid device.wvd file
This commit is contained in:
@@ -470,6 +470,9 @@ class SpotifyApi:
|
||||
self.WIDEVINE_LICENSE_API_URL.format(type=media_type),
|
||||
challenge,
|
||||
)
|
||||
if response.status_code == 403:
|
||||
logger.error(f"The device.wvd file is invalid or banned.")
|
||||
logger.warning(f'Delete the device.wvd file to use the alternate key.')
|
||||
check_response(response)
|
||||
return response.content
|
||||
|
||||
|
||||
Reference in New Issue
Block a user