Skip to content

Commit

Permalink
fix(TTG): uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Nov 14, 2023
1 parent b5aed32 commit d68d3a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resource/sites/totheglory.im/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@
"userExtendInfo": {
"page": "/userdetails.php?id=$user.id$",
"fields": {
"uploads": {
"selector": ["div#ka1 tr:not(:eq(0))"],
"filters": ["query.length"]
},
"uploaded": {
"selector": ["td.rowhead:contains('上传量') + td", "td.rowhead:contains('上傳量') + td"],
"filters": ["query.text().replace(/,/g,'').sizeToNumber()"]
Expand Down

0 comments on commit d68d3a7

Please sign in to comment.