fix terminator

This commit is contained in:
Soph :3 2025-12-13 17:41:19 +02:00
parent ddbcbf53a5
commit 45f20ad5ab

View file

@ -52,7 +52,9 @@ async function getTH() {
const best = trackerName.startsWith("⭐"); const best = trackerName.startsWith("⭐");
trackerName = trackerName trackerName = trackerName
.replace(/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF]|⭐)/g, '') .replace(/\p{Extended_Pictographic}/gu, '')
.replace(/[\uFE00-\uFE0F]/g, '')
.replace(/\u200D/g, '')
.trim(); .trim();
ndjson += JSON.stringify({ name: trackerName, url: trackerUrl, credits, updated, links_work, best }) + "\n"; ndjson += JSON.stringify({ name: trackerName, url: trackerUrl, credits, updated, links_work, best }) + "\n";
} }