mirror of
https://github.com/MinazukiAmane/AnimeGame-Download-Library.git
synced 2025-03-15 05:35:58 +08:00
clean messed up on nap folder
rename Fourth Anime Game as nap
This commit is contained in:
parent
c9b9632f9c
commit
9e13d3d8bf
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,7 +1,4 @@
|
||||
run_bh.py
|
||||
run_sr.py
|
||||
run_ys.py
|
||||
run_zzz.py
|
||||
*.py
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
|
@ -1,52 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
import json
|
||||
import requests
|
||||
import collections
|
||||
|
||||
if __name__ == "__main__":
|
||||
with open('CN.md', 'a+') as readme:
|
||||
readme.seek(0)
|
||||
sys.stdout = readme
|
||||
stringContent = requests.get('https://sg-public-api.serenetia.com/api/hyp_cn?game_id=x6znKlJ0xK').content.decode('utf-8')
|
||||
|
||||
try:
|
||||
jsonFile = json.loads(readme.read().strip().strip('```'), object_pairs_hook=collections.OrderedDict)
|
||||
except json.JSONDecodeError:
|
||||
jsonFile = collections.OrderedDict({
|
||||
"pre_download_game": "",
|
||||
"latest": None,
|
||||
"deprecated_packages": []
|
||||
})
|
||||
|
||||
changed = False
|
||||
|
||||
# Get pre_download_game
|
||||
try:
|
||||
pre_download_game = json.loads(stringContent)['data']['game_packages'][0]['pre_download']
|
||||
except KeyError:
|
||||
pre_download_game = ""
|
||||
|
||||
if jsonFile['pre_download_game'] != pre_download_game:
|
||||
jsonFile['pre_download_game'] = pre_download_game
|
||||
changed = True
|
||||
|
||||
# Get latest game package
|
||||
try:
|
||||
game_packages = json.loads(stringContent)['data']['game_packages']
|
||||
latest = game_packages[0]['main']['major']
|
||||
except (KeyError, IndexError):
|
||||
latest = None
|
||||
|
||||
if jsonFile['latest'] != latest:
|
||||
deprecated_packages = jsonFile.get('deprecated_packages', [])
|
||||
if jsonFile['latest']:
|
||||
deprecated_packages.append(jsonFile['latest'])
|
||||
jsonFile['latest'] = latest
|
||||
jsonFile['deprecated_packages'] = deprecated_packages
|
||||
changed = True
|
||||
|
||||
if changed:
|
||||
readme.seek(0)
|
||||
readme.truncate()
|
||||
print('```\n' + json.dumps(jsonFile, ensure_ascii=False, indent=4, separators=(',', ':')) + '\n```')
|
@ -1,52 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import sys
|
||||
import json
|
||||
import requests
|
||||
import collections
|
||||
|
||||
if __name__ == "__main__":
|
||||
with open('GLOBAL.md', 'a+') as readme:
|
||||
readme.seek(0)
|
||||
sys.stdout = readme
|
||||
stringContent = requests.get('https://sg-public-api.serenetia.com/api/hyp_global?game_id=U5hbdsT9W7').content.decode('utf-8')
|
||||
|
||||
try:
|
||||
jsonFile = json.loads(readme.read().strip().strip('```'), object_pairs_hook=collections.OrderedDict)
|
||||
except json.JSONDecodeError:
|
||||
jsonFile = collections.OrderedDict({
|
||||
"pre_download_game": "",
|
||||
"latest": None,
|
||||
"deprecated_packages": []
|
||||
})
|
||||
|
||||
changed = False
|
||||
|
||||
# Get pre_download_game
|
||||
try:
|
||||
pre_download_game = json.loads(stringContent)['data']['game_packages'][0]['pre_download']
|
||||
except KeyError:
|
||||
pre_download_game = ""
|
||||
|
||||
if jsonFile['pre_download_game'] != pre_download_game:
|
||||
jsonFile['pre_download_game'] = pre_download_game
|
||||
changed = True
|
||||
|
||||
# Get latest game package
|
||||
try:
|
||||
game_packages = json.loads(stringContent)['data']['game_packages']
|
||||
latest = game_packages[0]['main']['major']
|
||||
except (KeyError, IndexError):
|
||||
latest = None
|
||||
|
||||
if jsonFile['latest'] != latest:
|
||||
deprecated_packages = jsonFile.get('deprecated_packages', [])
|
||||
if jsonFile['latest']:
|
||||
deprecated_packages.append(jsonFile['latest'])
|
||||
jsonFile['latest'] = latest
|
||||
jsonFile['deprecated_packages'] = deprecated_packages
|
||||
changed = True
|
||||
|
||||
if changed:
|
||||
readme.seek(0)
|
||||
readme.truncate()
|
||||
print('```\n' + json.dumps(jsonFile, ensure_ascii=False, indent=4, separators=(',', ':')) + '\n```')
|
22
nap/PROD/CN/1.0.0.md
Normal file
22
nap/PROD/CN/1.0.0.md
Normal file
@ -0,0 +1,22 @@
|
||||
## Game data
|
||||
[juequling_1.0.0_V.zip.001](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.001)
|
||||
|
||||
[juequling_1.0.0_V.zip.002](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.002)
|
||||
|
||||
[juequling_1.0.0_V.zip.003](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.003)
|
||||
|
||||
[juequling_1.0.0_V.zip.004](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.004)
|
||||
|
||||
[juequling_1.0.0_V.zip.005](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.005)
|
||||
|
||||
[juequling_1.0.0_V.zip.006](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.006)
|
||||
|
||||
[juequling_1.0.0_V.zip.007](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.007)
|
||||
|
||||
[juequling_1.0.0_V.zip.008](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.008)
|
||||
|
||||
[juequling_1.0.0_V.zip.009](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.009)
|
||||
|
||||
[juequling_1.0.0_V.zip.010](https://autopatchcn.juequling.com/package_download/op/client_app/download/20240621120814_y330JPdP7xg1l7FT/volumezip/juequling_1.0.0_V.zip.010)
|
||||
|
||||
## Audio data
|
22
nap/PROD/OS/1.0.0.md
Normal file
22
nap/PROD/OS/1.0.0.md
Normal file
@ -0,0 +1,22 @@
|
||||
## Game data
|
||||
[ZenlessZoneZero_1.0.0_V.zip.001](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.001)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.002](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.002)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.003](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.003)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.004](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.004)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.005](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.005)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.006](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.006)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.007](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.007)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.008](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.008)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.009](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.009)
|
||||
|
||||
[ZenlessZoneZero_1.0.0_V.zip.010](https://autopatchos.zenlesszonezero.com/package_download/op/client_app/os/download/20240620034137_JFSHEke77soszWYL/volumezip/ZenlessZoneZero_1.0.0_V.zip.010)
|
||||
|
||||
## Audio data
|
Loading…
x
Reference in New Issue
Block a user