Skip to content

Commit 54171f7

Browse files
morguldir1nikolas
andcommitted
Update the client secret
Co-authored-by: Nikolas Spiridakis <30593419+1nikolas@users.noreply.github.com>
1 parent 950a24b commit 54171f7

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tidalapi/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ def __init__(self, quality=Quality.high, video_quality=VideoQuality.high):
8686
decode("".join(map(chr, [117, 116, 70, 95, 56]))))
8787
token = self.api_token
8888
self.api_token = list((base64.b64decode("d3RjaThkamFfbHlhQnBKaWQuMkMwb3puT2ZtaXhnMA==").decode()))
89-
tok = "".join(([chr(ord(x)+1) for x in token[-6:]]))
89+
tok = "".join(([chr(ord(x) - 2) for x in token[-6:]]))
9090
token2 = token
9191
token = token[:9]
9292
token += tok
9393
tok2 = "".join(([chr(ord(x)-2) for x in token[:-7]]))
9494
token = token[8:]
9595
token = tok2 + token
96-
self.api_token = list((base64.b64decode("OHJTZ0ViWl9XamFfNG5KZzEuTkRWcENvNWdVajVoWQ==").decode()))
96+
self.api_token = list((base64.b64decode("enJVZzRiWF9IalZfVm5rZ2MuMkF0bURsUGRvZzRldA==").decode()))
9797
for word in token:
9898
self.api_token.remove(word)
9999
self.api_token = "".join(self.api_token)
@@ -109,8 +109,8 @@ def __init__(self, quality=Quality.high, video_quality=VideoQuality.high):
109109
tok2 = string.join(([chr(ord(x)+24) for x in token2[-6:]]))
110110
token2 = token2[:9]
111111
token2 += tok2
112-
self.client_id = list((base64.b64decode("b4x3gVV8WXlEhGt5eIhkgWQuelsrhzmGRn5wgXZ/R1gy"
113-
"NERseEVDTnRGRU1CeGlwVTBsQmZyYnE2MD0=").decode('ISO-8859-1')))
112+
self.client_id = list((base64.b64decode("VoxKgUt8aHlEhEZ5cYhKgVAucVt2h3OGUH5WgU5/QlY2"
113+
"dWtYVEptd2x2YnR0UDd3bE1scmM3MnNlND0=").decode('ISO-8859-1')))
114114
if save:
115115
token2.decode('ISO-8859-1').encode('utf-16')
116116
self.client_id = [x.encode('ISO-8859-1') for x in self.client_id]

0 commit comments

Comments
 (0)