From 1ce94d25b11479e18528b377d7c03e57b93edb0f Mon Sep 17 00:00:00 2001 From: onezDerv Date: Mon, 30 Sep 2024 05:26:50 -0400 Subject: [PATCH] i am stupid --- unfollow_all.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unfollow_all.js b/unfollow_all.js index cc3c9f8..b76e7f1 100644 --- a/unfollow_all.js +++ b/unfollow_all.js @@ -8,7 +8,7 @@ function getCookie(name) { async function downloadUser(user) { for (let i = 0; ; i++) { - let fetchReq = await fetch(`https://api.scratch.mit.edu/users/${user}/followers/?limit=40&offset=${i * 40}`); + let fetchReq = await fetch(`https://api.scratch.mit.edu/users/${user}/following/?limit=40&offset=${i * 40}`); let fetchJson = await fetchReq.json(); if (fetchJson.length < 1) break; tree = [...tree, ...fetchJson];