From b488b277f056a4846fde192e5707c4d1dfb2ef76 Mon Sep 17 00:00:00 2001 From: thomaslty Date: Fri, 5 Nov 2021 18:50:27 +0800 Subject: [PATCH] Update zspotify.py --- zspotify/zspotify.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zspotify/zspotify.py b/zspotify/zspotify.py index 7d934454..bae47b3e 100644 --- a/zspotify/zspotify.py +++ b/zspotify/zspotify.py @@ -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):