weird junk

This commit is contained in:
biglyderv 2025-02-01 01:26:00 -05:00
parent 32e5a742bb
commit 8e5db4e4d7

12
site.js
View file

@ -188,10 +188,14 @@ async function siteCollector(user, path, site, useLimit, data2) {
if (!j1 || ((i - urls.length - 1) >= pageLimit && useLimit)) break;
let users2;
if (site == 'darflen') {
users2 = j1[path].map(x => x.profile.username);
} else if (site == 'scratch') {
users2 = j1.map(x => x.username);
try {
if (site == 'darflen') {
users2 = j1[path].map(x => x.profile.username);
} else if (site == 'scratch') {
users2 = j1.map(x => x.username);
}
} catch (err) {
users2 = [];
}
users.push(users2);