summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json
diff options
context:
space:
mode:
authorlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
committerlexicade <jasonnlelong@gmail.com>2023-01-27 21:06:30 +0000
commit52801b4de1d63cd01191acf7fcee137977140ec0 (patch)
tree08271a1f1e3e8060486b6651c67c9934867c648e /ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json
parent8df873808c86805624851356f5dea76ec621de23 (diff)
Project initHEADmain
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json')
-rw-r--r--ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json b/ffxiv/lodestone-css-selectors-0.46.0/profile/achievements.json
new file mode 100644
index 0000000..532c5b5
--- /dev/null
+++ b/ffxiv/lodestone-css-selectors-0.46.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<NameDE>.*) aus der Kategorie „|.*[\\\"「](?P<Name>.*)[\\\"」]"
+ },
+ "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"
+ }
+}