Update zspotify.py

This commit is contained in:
thomaslty 2021-11-05 18:50:27 +08:00 committed by GitHub
parent 813ec6228d
commit b488b277f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -79,7 +79,9 @@ class ZSpotify:
@classmethod
def get_auth_header(cls):
return {
AUTHORIZATION: f'Bearer {cls.__get_auth_token()}'}
'Authorization': f'Bearer {cls.__get_auth_token()}',
'Accept-Language': 'zh'
}
@classmethod
def get_auth_header_and_params(cls, limit, offset):