Update zspotify.py

This commit is contained in:
thomaslty
2021-11-05 18:50:27 +08:00
committed by GitHub
parent 813ec6228d
commit b488b277f0

View File

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