Skip to content

Commit 0489d8c

Browse files
ted423Rhilip
authored andcommitted
feat(FSM): 暂不获取的数据置0
入站时间有点问题,似乎不能写N/A
1 parent 8581a95 commit 0489d8c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

resource/sites/nextpt.net/config.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,20 @@
9595
"seeding": {
9696
"selector": [ "text.pointB:contains('当前活动')" ],
9797
"filters": [ "query[0].nextSibling.nextSibling.textContent.replace('⇈', '')" ]
98+
},
99+
"bonus": {
100+
"selector": [ "a[href='/Points']" ],
101+
"filters": [ "query.text().trim()" ]
98102
}
99103
}
100104
},
101105
"userExtendInfo": {
102106
"page": "/Users/profile?uid=$user.id$",
103107
"fields": {
104-
"joinTime": {"value":"N/A"},
108+
"joinTime": {"value": null},
105109
"levelName": {"value":"N/A"},
106-
"seedingSize": {"value":"N/A"}
110+
"seedingSize": {"value":"0"},
111+
"bonusPerHour": {"value":"0"}
107112
}
108113
},
109114
"common": {

0 commit comments

Comments
 (0)