From d68d3a7fc9f248d187869767066ca2e8c9215b26 Mon Sep 17 00:00:00 2001 From: fzlins Date: Tue, 14 Nov 2023 13:35:29 -0500 Subject: [PATCH] fix(TTG): uploads --- resource/sites/totheglory.im/config.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resource/sites/totheglory.im/config.json b/resource/sites/totheglory.im/config.json index 4934fda3b..ad42ca4ba 100644 --- a/resource/sites/totheglory.im/config.json +++ b/resource/sites/totheglory.im/config.json @@ -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()"]