diff options
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json')
-rw-r--r-- | ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json b/ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json new file mode 100644 index 0000000..5db2e02 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json @@ -0,0 +1,45 @@ +{ + "ROOT": { + "selector": ".ldst__achievement" + }, + "ENTRY": { + "ROOT": { + "selector": ".entry", + "multiple": true + }, + "NAME": { + "selector": ".entry__activity__txt", + "regex": "(?P<NameEU>.*)" + }, + "ID": { + "selector": ".entry__achievement", + "attribute": "href", + "regex": "/lodestone/character/\\d*/achievement/detail/(?P<ID>\\d*)/" + }, + "TIME": { + "selector": ".entry__activity__time > script", + "regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(2) > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager:nth-child(2) > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + }, + "NO_RESULTS_FOUND": { + "selector": ".parts__zero" + }, + "TOTAL_ACHIEVEMENTS": { + "selector": ".parts__total", + "regex": "(?P<TotalAchievements>[0-9]*) \\D+" + }, + "ACHIEVEMENT_POINTS": { + "selector": ".achievement__point" + }, + "ACTIVITY_DESCRIPTION": { + "selector": ".entry__activity__txt" + } +} |