Skip to content

Commit

Permalink
fix(hhan): message count
Browse files Browse the repository at this point in the history
  • Loading branch information
Bright-W authored and fzlins committed Nov 2, 2023
1 parent 5245ee1 commit a1aeef0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resource/sites/hhanclub.top/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@
],
"collaborator": ["koal", "zhuweitung"],
"selectors": {
"userBaseInfo": {
"merge": true,
"page": "/index.php",
"fields": {
"messageCount": {
"selector": ["div.w-full > a[href='messages.php']"],
"filters": ["query.text().match(/(\\d+)/)", "(query && query.length>=2)?parseInt(query[1]):0"]
}
}
},
"userExtendInfo": {
"merge": true,
"fields": {
Expand Down

0 comments on commit a1aeef0

Please sign in to comment.