diff --git a/site.js b/site.js index c6d7a3c..4b99a56 100644 --- a/site.js +++ b/site.js @@ -205,10 +205,12 @@ async function siteCollector(user, path, site, useLimit, dat) { if (!following || !followers) continue; try { - let o = new URL(new URL(uf).origin).toString(); + if (site == 'url') { + let o = new URL(new URL(uf).origin).toString(); - if (followers.indexOf(o) == -1) { - followers.push(o) + if (followers.indexOf(o) == -1) { + followers.push(o) + } } } catch (err) { }