From 31dbd7a057a3af82ac5a3f8071cd7c753029d016 Mon Sep 17 00:00:00 2001 From: Bright-W Date: Sun, 19 Nov 2023 21:52:16 +0800 Subject: [PATCH] fix(ant): bonus per hr --- resource/sites/anthelion.me/config.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resource/sites/anthelion.me/config.json b/resource/sites/anthelion.me/config.json index 81048a2e6..9e40c1e8e 100644 --- a/resource/sites/anthelion.me/config.json +++ b/resource/sites/anthelion.me/config.json @@ -18,7 +18,7 @@ }], "selectors": { "userBaseInfo": { - "page": "/index.php", + "page": "/store.php", "fields": { "id": { "selector": ["#nav_user a.username"], @@ -31,6 +31,10 @@ "isLogged": { "selector": ["a[href*='logout.php']"], "filters": ["query.length>0"] + }, + "bonusPerHour": { + "selector": ["h3.float_right"], + "filters": ["query.text().match(/.+?making ([\\d]+) Orbs.+?/)", "(query && query.length>=2)?parseFloat(query[1]):null"] } } },