Skip to content

Commit

Permalink
[fix] fs text error
Browse files Browse the repository at this point in the history
  • Loading branch information
Diving-Fish committed Jun 6, 2024
1 parent eab2019 commit f46bf54
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions page-parser/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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]
Expand Down

0 comments on commit f46bf54

Please sign in to comment.