恢复游戏通知原始正文样式
This commit is contained in:
@@ -314,9 +314,6 @@ function extractSystemGameCardSummary(content, meta) {
|
|||||||
return normalizedContent
|
return normalizedContent
|
||||||
.replace(/^[🎲🎉]+\s*/u, "")
|
.replace(/^[🎲🎉]+\s*/u, "")
|
||||||
.replace(/^【百家乐】/u, "")
|
.replace(/^【百家乐】/u, "")
|
||||||
.replace(/^第\s*#?\d+\s*局开奖!?\s*/u, "开奖:")
|
|
||||||
.replace(/总点\s*(\d+)\s*→\s*/u, "$1点 · ")
|
|
||||||
.replace(/本局无人获奖。?/u, "无人获奖")
|
|
||||||
.replace(/\s+/gu, " ")
|
.replace(/\s+/gu, " ")
|
||||||
.trim();
|
.trim();
|
||||||
}
|
}
|
||||||
@@ -329,37 +326,16 @@ function extractSystemGameCardSummary(content, meta) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (meta.label === "赛马") {
|
if (meta.label === "赛马") {
|
||||||
if (normalizedContent.startsWith("🐎 开赛:")) {
|
|
||||||
return normalizedContent.replace(/^[🐎]+\s*/u, "").trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (normalizedContent.startsWith("🏇 比赛开始:")) {
|
|
||||||
return normalizedContent.replace(/^[🏇]+\s*/u, "").trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (normalizedContent.startsWith("🏆 冠军:")) {
|
|
||||||
return normalizedContent.replace(/^[🏆]+\s*/u, "").trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
return normalizedContent
|
return normalizedContent
|
||||||
.replace(/^[🐎🏇🏆]+\s*/u, "")
|
.replace(/^[🐎🏇🏆]+\s*/u, "")
|
||||||
.replace(/^【赛马】/u, "")
|
.replace(/^【赛马】/u, "")
|
||||||
.replace(/^第\s*#?\d+\s*场开始!?\s*/u, "开赛:")
|
|
||||||
.replace(/^第\s*#?\d+\s*场押注截止!?\s*/u, "比赛开始:")
|
|
||||||
.replace(/^第\s*#?\d+\s*场结束!?\s*/u, "冠军:")
|
|
||||||
.replace(/马匹已进入跑道,比赛开始!?/u, "比赛开始")
|
|
||||||
.trim();
|
.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (meta.label === "双色球彩票") {
|
if (meta.label === "双色球彩票") {
|
||||||
if (normalizedContent.includes("超级期")) {
|
|
||||||
return normalizedContent.replace(/^[🎊🎟️]+\s*/u, "").trim();
|
|
||||||
}
|
|
||||||
|
|
||||||
return normalizedContent
|
return normalizedContent
|
||||||
.replace(/^[🎟️🎊]+\s*/u, "")
|
.replace(/^[🎟️🎊]+\s*/u, "")
|
||||||
.replace(/^【双色球[^】]*】/u, "")
|
.replace(/^【双色球[^】]*】/u, "")
|
||||||
.replace(/^(\d+\s*期:)/u, "开奖:$1")
|
|
||||||
.trim();
|
.trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user