From 3383d2b6790028b050ba329c45d91b48389770f8 Mon Sep 17 00:00:00 2001 From: biglyderv Date: Sat, 1 Feb 2025 05:52:18 -0500 Subject: [PATCH] for some reason i didn't put the correct offset here --- site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site.js b/site.js index dda4b71..53e8499 100644 --- a/site.js +++ b/site.js @@ -183,7 +183,7 @@ async function siteCollector(user, path, site, useLimit, data2) { if (site == 'darflen') { p = `https://api.darflen.com/users/${user}/${path}/${i}`; } else if (site == 'scratch') { - p = `https://api.scratch.mit.edu/users/${user}/${path}/?limit=40&offset=${i * 40}`; + p = `https://api.scratch.mit.edu/users/${user}/${path}/?limit=40&offset=${(i - 1) * 40}`; } else { throw 'That site is not supported.'; }