From 620b5afc8d1ab3784017afdeef4d5b69dce6d2d3 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 27 Dec 2022 17:28:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20Update=202.42.1=20ds=20salt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/apihelper/utility/helpers.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/apihelper/utility/helpers.py b/modules/apihelper/utility/helpers.py index fa09674d..6b7e9aee 100644 --- a/modules/apihelper/utility/helpers.py +++ b/modules/apihelper/utility/helpers.py @@ -54,15 +54,15 @@ def get_ds(ds_type: str = None, new_ds: bool = False, data: Any = None, params: c = hex_digest(f"salt={salt}&t={t}&r={r}") return f"{t},{r},{c}" - app_version = "2.41.2" + app_version = "2.42.1" client_type = "5" - salt = "osgT0DljLarYxgebPPHJFjdaxPfoiHGt" + salt = "9gaxOdeeY2W9dw5x62pywhik8cxy5TIJ" ds = old() - if ds_type in ("android", "2"): + if ds_type in {"android", "2"}: client_type = "2" - salt = "TsmyHpZg8gFAVKTtlPaL6YwMldzxZJxQ" + salt = "jrU9ULHGZdM9Os3uGHOpjyRELYxby5cg" ds = old() - if ds_type == "android_new": + elif ds_type == "android_new": client_type = "2" salt = "t0qEgfub6cvueAPgR5m9aQWWVciEer7v" ds = new()