fix terminator
This commit is contained in:
parent
ddbcbf53a5
commit
45f20ad5ab
1 changed files with 3 additions and 1 deletions
4
index.ts
4
index.ts
|
|
@ -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";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue