bump sdga authv1 opt downloading related to latest 1.55

This commit is contained in:
91c0e59d-6161-45ab-8aa4-2371574db28f
2025-11-06 01:14:25 +08:00
parent 154ff02d73
commit 12fc3f881d

View File

@@ -5,7 +5,7 @@ import httpx
def DownloadOrder(): def DownloadOrder():
ua = 'Windows/3.0' 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)) body = base64.b64encode(zlib.compress(content))
r = httpx.post( r = httpx.post(
'http://naominet.jp/sys/servlet/DownloadOrder', 'http://naominet.jp/sys/servlet/DownloadOrder',
@@ -14,7 +14,8 @@ def DownloadOrder():
'Pragma': 'DFI', 'Pragma': 'DFI',
'User-Agent': ua, 'User-Agent': ua,
'Content-Type': 'application/x-www-form-urlencoded', 'Content-Type': 'application/x-www-form-urlencoded',
} },
proxy = 'http://127.0.0.1:6152'
) )
resp_data = r.content resp_data = r.content
response = zlib.decompress(base64.b64decode(resp_data)).decode() response = zlib.decompress(base64.b64decode(resp_data)).decode()
@@ -27,7 +28,7 @@ def uri():
r = httpx.get( r = httpx.get(
endpoint, endpoint,
headers = { headers = {
'User-Agent': 'A63E01E0000', 'User-Agent': 'A63E01E0048',
} }
) )
resp_data = r.content resp_data = r.content