No spamming!

This commit is contained in:
biglyderv 2025-02-01 12:04:48 -05:00
parent 27bce6cc63
commit fea087b5d3

View file

@ -112,6 +112,12 @@ async function rounder(users, data, mode) {
} }
if (timeout) break; if (timeout) break;
if (!data[u]) data[u] = { followers: [], following: [] }; if (!data[u]) data[u] = { followers: [], following: [] };
if (noWorry.indexOf(u) != -1) {
percent += 50 / d / users.length;
console.log(`User ${u} followers was already fully calculated (${percent}% total)`);
continue;
}
p.push(async function (k) { p.push(async function (k) {
await siteCollector(u, 'followers', site, mode, data); await siteCollector(u, 'followers', site, mode, data);