test
Some checks failed
Update wiki / test (push) Failing after 49s

This commit is contained in:
Ashley Graves 2024-08-01 01:32:47 +02:00
parent 067d5edc55
commit dd2d3e3f4f

View file

@ -37,6 +37,9 @@ for mod in glob.glob("pack/mods/*.toml"):
else: else:
data = requests.get("https://api.modrinth.com/v2/project/" + id).json()["license"] data = requests.get("https://api.modrinth.com/v2/project/" + id).json()["license"]
cache[id] = data cache[id] = data
print(data)
exit
elif "curseforge" in data["update"]: elif "curseforge" in data["update"]:
moddata["url"] = "https://legacy.curseforge.com/projects/" + str(data["update"]["curseforge"]["project-id"]) moddata["url"] = "https://legacy.curseforge.com/projects/" + str(data["update"]["curseforge"]["project-id"])
moddata["site"] = "CurseForge" moddata["site"] = "CurseForge"