diff --git a/libs/offical_update.js b/libs/offical_update.js index d7b0a57..5562b22 100644 --- a/libs/offical_update.js +++ b/libs/offical_update.js @@ -31,6 +31,7 @@ export default async function () { "en-US": charCard.querySelector(".info").querySelector(".codename").textContent.trim() } const rawType = charCard.querySelector(".typeIcon").querySelector("svg").querySelector("use").getAttribute("xlink:href") + const link = "https://ak.hypergryph.com" + charCard.getAttribute("href") let type; switch (rawType) { @@ -44,7 +45,8 @@ export default async function () { operators.push({ color, codename, - type + type, + link }) dict.length++ } diff --git a/offical_update.json b/offical_update.json index 60e8051..f70c32c 100644 --- a/offical_update.json +++ b/offical_update.json @@ -8,7 +8,8 @@ "zh-CN": "崖高梦远 · 令", "en-US": "TOWERING IS CLIFF OF NOSTALGIA" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202308807.html" } ], "2023/07": [ @@ -18,7 +19,8 @@ "zh-CN": "悠然假日 HD26 · 百炼嘉维尔", "en-US": "GAVIAL THE INVINCIBLE HD26" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202307886.html" }, { "color": "rgb(34, 187, 255)", @@ -26,7 +28,8 @@ "zh-CN": "纯烬艾雅法拉", "en-US": "EYJAFJALLA THE HVÍT ASKA" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202307865.html" }, { "color": "rgba(253, 188, 208, 0.97)", @@ -34,7 +37,8 @@ "zh-CN": "夏卉 FA394 · 澄闪", "en-US": "SUMMER FLOWERS FA394" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202307824.html" } ], "2023/04": [ @@ -44,7 +48,8 @@ "zh-CN": "残余 · 凯尔希", "en-US": "REMNANT" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202304833.html" }, { "color": "rgb(146, 212, 143)", @@ -52,7 +57,8 @@ "zh-CN": "缪尔赛思", "en-US": "MUELSYSE" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202304611.html" }, { "color": "rgb(140, 7, 7)", @@ -60,7 +66,8 @@ "zh-CN": "生而为一 · 归溟幽灵鲨", "en-US": "BORN AS ONE" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202304670.html" }, { "color": "rgb(6, 34, 129)", @@ -68,7 +75,8 @@ "zh-CN": "万重山 · 假日威龙陈", "en-US": "TEN THOUSAND MOUNTAINS" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202304659.html" } ], "2023/02": [ @@ -78,7 +86,8 @@ "zh-CN": "字句中的雪原 · 鸿雪", "en-US": "SNOWY PLAINS IN WORDS" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202302698.html" } ], "2023/01": [ @@ -88,7 +97,8 @@ "zh-CN": "重岳", "en-US": "CHONGYUE" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202301606.html" }, { "color": "rgb(37, 148, 197)", @@ -96,7 +106,8 @@ "zh-CN": "濯缨 · 令", "en-US": "IT DOES WASH THE STRINGS" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202301647.html" } ], "2022/12": [ @@ -106,7 +117,8 @@ "zh-CN": "夏日餮宴 · 水月", "en-US": "SUMMER FEAST" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202211685.html" } ], "2022/11": [ @@ -116,7 +128,8 @@ "zh-CN": "缄默德克萨斯", "en-US": "TEXAS THE OMERTOSA" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202210210.html" }, { "color": "rgb(231, 166, 144)", @@ -124,7 +137,8 @@ "zh-CN": "今昔须臾之梦 · 异客", "en-US": "DREAM IN A MOMENT" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202210664.html" }, { "color": "rgb(141, 213, 228)", @@ -132,7 +146,8 @@ "zh-CN": "复现荣光 · 耀骑士临光", "en-US": "RELIGHT" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202210623.html" }, { "color": "rgb(116, 177, 222)", @@ -140,7 +155,8 @@ "zh-CN": "拥抱新生 · 迷迭香", "en-US": "BECOME ANEW" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202210632.html" } ], "2022/10": [ @@ -150,7 +166,8 @@ "zh-CN": "手到牌来 · 老鲤", "en-US": "TRUST YOUR EYES" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202210279.html" } ], "2022/08": [ @@ -160,7 +177,8 @@ "zh-CN": "百炼嘉维尔", "en-US": "GAVIAL THE INVINCIBLE" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202208258.html" }, { "color": "rgb(177, 226, 249)", @@ -168,7 +186,8 @@ "zh-CN": "缤纷奇境 CW03 · 史尔特尔", "en-US": "COLORFUL WONDERLAND CW03" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202208297.html" } ], "2022/05": [ @@ -178,7 +197,8 @@ "zh-CN": "归溟幽灵鲨", "en-US": "SPECTER THE UNCHAINED" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202204284.html" }, { "color": "rgba(95, 116, 187, 0.74)", @@ -186,7 +206,8 @@ "zh-CN": "升华 · 浊心斯卡蒂", "en-US": "SUBLIMATION" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202204205.html" } ], "2022/04": [ @@ -196,7 +217,8 @@ "zh-CN": "焦点 · 傀影", "en-US": "FOCUS" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202203222.html" } ], "2022/01": [ @@ -206,7 +228,8 @@ "zh-CN": "令", "en-US": "LING" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220383.html" }, { "color": "rgb(78, 201, 187)", @@ -214,7 +237,8 @@ "zh-CN": "染尘烟 · 夕", "en-US": "EVERYTHING IS A MIRACLE" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220321.html" } ], "2021/11": [ @@ -224,7 +248,8 @@ "zh-CN": "耀骑士临光", "en-US": "NEARL THE RADIANT KNIGHT" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220304.html" } ], "2021/08": [ @@ -234,7 +259,8 @@ "zh-CN": "假日威龙陈", "en-US": "CH'EN THE HOLUNGDAY" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220345.html" } ], "2021/05": [ @@ -244,7 +270,8 @@ "zh-CN": "浊心斯卡蒂", "en-US": "SKADI THE CORRUPTING HEART" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220396.html" } ], "2021/02": [ @@ -254,7 +281,8 @@ "zh-CN": "夕", "en-US": "DUSK" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202203263.html" }, { "color": "rgb(187, 163, 106)", @@ -262,7 +290,8 @@ "zh-CN": "乐逍遥 · 年", "en-US": "UNFETTERED FREEDOM" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220362.html" } ], "2020/11": [ @@ -272,7 +301,8 @@ "zh-CN": "迷迭香", "en-US": "ROSMONTIS" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220378.html" }, { "color": "rgba(0, 0, 0, 0.83)", @@ -280,7 +310,8 @@ "zh-CN": "恍惚 · W", "en-US": "WONDER" }, - "type": "skin" + "type": "skin", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202206246.html" } ], "2020/05": [ @@ -290,7 +321,8 @@ "zh-CN": "W", "en-US": "W" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/20220319.html" } ], "2020/01": [ @@ -300,7 +332,8 @@ "zh-CN": "年", "en-US": "NIAN" }, - "type": "operator" + "type": "operator", + "link": "https://ak.hypergryph.com/archive/dynamicCompile/202203231.html" } ] } \ No newline at end of file