No spamming!
This commit is contained in:
parent
27bce6cc63
commit
fea087b5d3
1 changed files with 6 additions and 0 deletions
6
site.js
6
site.js
|
@ -112,6 +112,12 @@ async function rounder(users, data, mode) {
|
|||
}
|
||||
if (timeout) break;
|
||||
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) {
|
||||
await siteCollector(u, 'followers', site, mode, data);
|
||||
|
||||
|
|
Loading…
Reference in a new issue