From f46bf5489d15a98644c6f7c9bad022dccaaca536 Mon Sep 17 00:00:00 2001 From: Diving-Fish Date: Thu, 6 Jun 2024 20:31:04 +0800 Subject: [PATCH] [fix] fs text error --- page-parser/index.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/page-parser/index.js b/page-parser/index.js index 44c0b6f..f0fb20c 100644 --- a/page-parser/index.js +++ b/page-parser/index.js @@ -175,6 +175,10 @@ const pageToRecordList = function (pageData) { .match("_icon_(.*).png")[1] .replace("back", ""), }; + + if (record_data.fs == "fdx") record_data.fs = "fsd"; + if (record_data.fs == "fdxp") record_data.fs = "fsdp"; + if (!typeNode) { const docId = name.parentNode.parentNode.parentNode.getAttribute("id"); if (docId) { @@ -267,6 +271,9 @@ const friendVSPageToRecordList = function (pageData) { .match("_icon_(.*).png")[1] .replace("back", ""); + if (result.fs == "fdx") result.fs = "fsd"; + if (result.fs == "fdxp") result.fs = "fsdp"; + const scoreString = e .getElementsByTagName("tr")[0] .getElementsByTagName("td")[2]