From 45f20ad5abc0e89e7b954a734664233bf1c81984 Mon Sep 17 00:00:00 2001 From: yourfriendoss Date: Sat, 13 Dec 2025 17:41:19 +0200 Subject: [PATCH] fix terminator --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"; }