diff --git a/index.ts b/index.ts index a1d6256..b666d04 100644 --- a/index.ts +++ b/index.ts @@ -52,7 +52,9 @@ async function getTH() { const best = trackerName.startsWith("⭐"); 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(); ndjson += JSON.stringify({ name: trackerName, url: trackerUrl, credits, updated, links_work, best }) + "\n"; }