Skip to content

Commit

Permalink
print version & config
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetMkt committed Sep 20, 2022
1 parent fa463b9 commit 7b98a99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/getModelsGlobal.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def getResourceURL():
Return resource url for Blue Archive
'''
data = requests.post(ba_api, json=ba_api_data).json()
print(data)
return data["patch"]["resource_path"]

def getModelsList():
Expand Down Expand Up @@ -162,6 +163,7 @@ def extractCharacter(src, dest):


ver = getResourceURL() # There are several ResourceURL to a version
print(ver)
if(os.path.isfile("./data/version.txt")):
with open("./data/version.txt", "r") as f:
ver_temp = f.read()
Expand Down
2 changes: 2 additions & 0 deletions py/getModelsJapan.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def getBaseResourceURL():
Return resource url for Blue Archive
'''
data = requests.get(ba_api).json()
print(data)
return data["ConnectionGroups"][0]['OverrideConnectionGroups'][-1]['AddressablesCatalogUrlRoot']
# https://prod-clientpatch.bluearchiveyostar.com/r47_1_22_46zlzvd7mur326newgu8_2 + /Android/bundleDownloadInfo.json

Expand Down Expand Up @@ -98,6 +99,7 @@ def extractCharacter(src, dest):


ver = getBaseResourceURL() # There are several ResourceURL to a version
print(ver)
if(os.path.isfile("./data/version.txt")):
with open("./data/version.txt", "r") as f:
ver_temp = f.read()
Expand Down

0 comments on commit 7b98a99

Please sign in to comment.