Skip to content

Commit

Permalink
fixed get apk version
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Henning committed Aug 19, 2022
1 parent 92ee29f commit 251a72b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__))
Expand Down
4 changes: 2 additions & 2 deletions src/tgtg/tgtg_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)


Expand Down

0 comments on commit 251a72b

Please sign in to comment.