Skip to content

Commit

Permalink
fix(huno): userExtendInfo page url
Browse files Browse the repository at this point in the history
  • Loading branch information
fzlins committed Nov 13, 2023
1 parent 60eda0d commit b5aed32
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion resource/sites/hawke.uno/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,20 @@
"selector": "i.fal.fa-gift.text-orange"
}],
"selectors": {
"userBaseInfo": {
"page": "/achievements",
"merge": true,
"fields": {
"id": {
"selector": ["a:contains('Profile'):first"],
"attribute": "href",
"filters": ["query.split('.')", "query ? query[query.length-1]:''"]
}
}
},
"userExtendInfo": {
"merge": true,
"page": "/users/$user.name$",
"page": "/users/$user.name$.$user.id$",
"fields": {
"levelName": {
"selector": "span[data-original-title='Tier'] span"
Expand Down

0 comments on commit b5aed32

Please sign in to comment.