parent
8e26081e0e
commit
ab73dcbff0
1 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
from pip._vendor import requests
|
||||
from pip._vendor import tomli
|
||||
import json
|
||||
import glob
|
||||
import os
|
||||
|
||||
|
@ -27,7 +26,7 @@ for mod in glob.glob("pack/mods/*.toml"):
|
|||
moddata["url"] = "https://modrinth.com/mod/" + id
|
||||
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)
|
||||
exit
|
||||
elif "curseforge" in data["update"]:
|
||||
|
|
Loading…
Reference in a new issue