From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../profile/achievements.json | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json (limited to 'ffxiv/lodestone-css-selectors-0.52.0/profile/achievements.json') 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.*)" + }, + "ID": { + "selector": ".entry__achievement", + "attribute": "href", + "regex": "/lodestone/character/\\d*/achievement/detail/(?P\\d*)/" + }, + "TIME": { + "selector": ".entry__activity__time > script", + "regex": ".*ldst_strftime\\((?P\\d*)" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(2) > li:nth-child(3)", + "regex": "\\D*(?P\\d+)\\D*(?P\\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[0-9]*) \\D+" + }, + "ACHIEVEMENT_POINTS": { + "selector": ".achievement__point" + }, + "ACTIVITY_DESCRIPTION": { + "selector": ".entry__activity__txt" + } +} -- cgit v1.2.3