Skip to content

Commit

Permalink
fix(ant): bonus per hr
Browse files Browse the repository at this point in the history
  • Loading branch information
Bright-W authored and fzlins committed Nov 19, 2023
1 parent 215aa01 commit 31dbd7a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion resource/sites/anthelion.me/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}],
"selectors": {
"userBaseInfo": {
"page": "/index.php",
"page": "/store.php",
"fields": {
"id": {
"selector": ["#nav_user a.username"],
Expand All @@ -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"]
}
}
},
Expand Down

0 comments on commit 31dbd7a

Please sign in to comment.