From 251a72b2ab9220fed7bc3d8433cebccdeb76f434 Mon Sep 17 00:00:00 2001 From: Henning Merklinger Date: Fri, 19 Aug 2022 08:28:44 +0200 Subject: [PATCH] fixed get apk version --- requirements.txt | 2 +- src/scanner.py | 2 +- src/tgtg/tgtg_client.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index d46167cf..cd7725fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,6 +13,6 @@ pytz-deprecation-shim==0.1.0.post0 requests==2.28.1 six==1.16.0 tornado==6.2 -tzdata==2022.1 +tzdata==2022.2 tzlocal==4.2 urllib3==1.26.11 \ No newline at end of file diff --git a/src/scanner.py b/src/scanner.py index 8cdf33a0..c8037816 100644 --- a/src/scanner.py +++ b/src/scanner.py @@ -13,7 +13,7 @@ from tgtg import TgtgClient VERSION_URL = 'https://api.github.com/repos/Der-Henning/tgtg/releases/latest' -VERSION = "1.11.2_rc1" +VERSION = "1.11.2" prog_folder = path.dirname(sys.executable) if getattr( sys, '_MEIPASS', False) else path.dirname(path.abspath(__file__)) diff --git a/src/tgtg/tgtg_client.py b/src/tgtg/tgtg_client.py index dc2ab8c5..ee7388ea 100644 --- a/src/tgtg/tgtg_client.py +++ b/src/tgtg/tgtg_client.py @@ -36,10 +36,10 @@ DEFAULT_ACCESS_TOKEN_LIFETIME = 3600 * 4 # 4 hours DEFAULT_MAX_POLLING_TRIES = 24 # 24 * POLLING_WAIT_TIME = 2 minutes DEFAULT_POLLING_WAIT_TIME = 5 # Seconds -DEFAULT_APK_VERSION = "22.5.5" +DEFAULT_APK_VERSION = "22.8.0" RE_SCRIPT = re.compile( - r"AF_initDataCallback\({key:\s*'ds:4'.*?data:([\s\S]*?), sideChannel:.+<\/script" + r"AF_initDataCallback\({key:\s*'ds:5'.*?data:([\s\S]*?), sideChannel:.+<\/script" )