Skip to content

Commit a9716bd

Browse files
committed
More achievement selectors
1 parent d9169d1 commit a9716bd

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.27.1",
2+
"version": "0.28.0",
33
"userAgentDesktop": "curl/7.73.0",
44
"userAgentMobile": "Mozilla/5.0 (iPhone; CPU OS 10_15_5 (Ergänzendes Update) like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/14E304 Safari/605.1.15",
55
"applicableUris": {

profile/achievements.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,17 @@
1818
"selector": ".entry__activity__time > script",
1919
"regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)"
2020
},
21+
"PAGE_INFO": {
22+
"selector": "ul.btn__pager > li:nth-child(3)",
23+
"regex": "Page (?P<CurrentPage>[0-9]*) of (?P<NumPages>[0-9]*)"
24+
},
25+
"TOTAL_ACHIEVEMENTS": {
26+
"selector": ".parts__total",
27+
"regex": "(?P<TotalAchievements>[0-9]*) Total"
28+
},
29+
"ACHIEVEMENT_POINTS": {
30+
"selector": ".achievement__point"
31+
},
2132
"NO_RESULTS_FOUND": {
2233
"selector": ".parts__zero"
2334
}

0 commit comments

Comments
 (0)