This commit is contained in:
onezplpl 2024-08-22 01:10:58 -03:00
parent 410990fe22
commit 212fce1dcf

View file

@ -30,7 +30,7 @@ async function genTree(treeId) {
async function main() { async function main() {
fetchData = await fetch(`https://scratch.mit.edu/projects/${treeID}/remixtree/bare/`).then(x => x.json()); fetchData = await fetch(`https://scratch.mit.edu/projects/${treeID}/remixtree/bare/`).then(x => x.json());
let latestData = await fetch(`https://corsproxy.io/?https://api.scratch.mit.edu/studios/${studioID}/projects`).then(x => x.json()); let latestData = await fetch(`https://hf.zenoverse.net/api/`).then(x => x.json());
let lid = latestData[0].id; let lid = latestData[0].id;
while (fetchData[lid].children.length > 0) { while (fetchData[lid].children.length > 0) {