From 12fc3f881dc707bd4da9fae8e33db107d49771b4 Mon Sep 17 00:00:00 2001 From: 91c0e59d-6161-45ab-8aa4-2371574db28f <91c0e59d-6161-45ab-8aa4-2371574db28f@bank-of-china.com> Date: Thu, 6 Nov 2025 01:14:25 +0800 Subject: [PATCH] bump sdga authv1 opt downloading related to latest 1.55 --- sdga/authv1.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sdga/authv1.py b/sdga/authv1.py index ea198f4..ce2492b 100644 --- a/sdga/authv1.py +++ b/sdga/authv1.py @@ -5,7 +5,7 @@ import httpx def DownloadOrder(): ua = 'Windows/3.0' - content = b'game_id=SDGA&ver=1.50&serial=A63E01E0048&encode=UTF-8' + content = b'game_id=SDGA&ver=1.55&serial=A63E01E0048&encode=UTF-8' body = base64.b64encode(zlib.compress(content)) r = httpx.post( 'http://naominet.jp/sys/servlet/DownloadOrder', @@ -14,7 +14,8 @@ def DownloadOrder(): 'Pragma': 'DFI', 'User-Agent': ua, 'Content-Type': 'application/x-www-form-urlencoded', - } + }, + proxy = 'http://127.0.0.1:6152' ) resp_data = r.content response = zlib.decompress(base64.b64decode(resp_data)).decode() @@ -27,7 +28,7 @@ def uri(): r = httpx.get( endpoint, headers = { - 'User-Agent': 'A63E01E0000', + 'User-Agent': 'A63E01E0048', } ) resp_data = r.content