mirror of
https://github.com/MinazukiAmane/AnimeGame-Download-Library.git
synced 2025-03-15 10:05:50 +08:00
change hk4e API url
This commit is contained in:
parent
70621076f1
commit
d4d5725fdb
@ -7,7 +7,7 @@ if __name__ == "__main__":
|
||||
with open('CN.md','a+') as readme:
|
||||
readme.seek(0)
|
||||
sys.stdout = readme
|
||||
stringContent=str(requests.get('https://id-public-api.serenetia.com/api/hk4e_cn').content,'utf-8')
|
||||
stringContent=str(requests.get('https://sg-public-api.serenetia.com/api/hyp_cn?game_id=1Z8W5NHUQb').content,'utf-8')
|
||||
jsonFile=json.loads(readme.read().strip().strip('```'),object_pairs_hook=collections.OrderedDict)
|
||||
changed = False
|
||||
pre_download_game=None
|
||||
|
@ -7,7 +7,7 @@ if __name__ == "__main__":
|
||||
with open('GLOBAL.md','a+') as readme:
|
||||
readme.seek(0)
|
||||
sys.stdout = readme
|
||||
stringContent=str(requests.get('https://id-public-api.serenetia.com/api/hk4e_global').content,'utf-8')
|
||||
stringContent=str(requests.get('https://sg-public-api.serenetia.com/api/hyp_global?game_id=gopR6Cufr3').content,'utf-8')
|
||||
jsonFile=json.loads(readme.read().strip().strip('```'),object_pairs_hook=collections.OrderedDict)
|
||||
changed = False
|
||||
pre_download_game=None
|
||||
|
Loading…
x
Reference in New Issue
Block a user