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

This commit is contained in:
Ashley Graves 2024-08-01 01:14:25 +02:00
parent 8e26081e0e
commit ab73dcbff0

View file

@ -2,7 +2,6 @@
from pip._vendor import requests from pip._vendor import requests
from pip._vendor import tomli from pip._vendor import tomli
import json
import glob import glob
import os import os
@ -27,7 +26,7 @@ for mod in glob.glob("pack/mods/*.toml"):
moddata["url"] = "https://modrinth.com/mod/" + id moddata["url"] = "https://modrinth.com/mod/" + id
moddata["site"] = "Modrinth" moddata["site"] = "Modrinth"
data = json.loads(requests.get("https://api.modrinth.com/v2/project/" + id)) data = requests.get("https://api.modrinth.com/v2/project/" + id).json()
print(data) print(data)
exit exit
elif "curseforge" in data["update"]: elif "curseforge" in data["update"]: