This commit is contained in:
Howard Wu 2022-09-13 19:11:45 +08:00
parent afb6e676d5
commit 32c19f2f03
2 changed files with 4 additions and 1 deletions

View file

@ -45,6 +45,9 @@ if brand == "OpenGApps":
j = json.loads(res.content)
link = {i["name"]: i for i in j["archs"][abi_map[arch]]
["apis"][release]["variants"]}[variant]["zip"]
# print(f"JSON={j}", flush=True)
DATE=j["archs"][abi_map[arch]]["date"]
print(f"DATE={DATE}", flush=True)
except Exception:
print("Failed to fetch from OpenGApps API, fallbacking to SourceForge RSS...")
res = requests.get(