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.'; }