summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json
diff options
context:
space:
mode:
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json')
-rw-r--r--ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json b/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json
new file mode 100644
index 0000000..7efe25a
--- /dev/null
+++ b/ffxiv/lodestone-css-selectors-0.46.0/search/cwls.json
@@ -0,0 +1,36 @@
+{
+ "ROOT": {
+ "selector": ".ldst__window"
+ },
+ "ENTRY": {
+ "ROOT": {
+ "selector": "div.entry",
+ "multiple": true
+ },
+ "ID": {
+ "selector": ".entry__link--line",
+ "attribute": "href",
+ "regex": "/lodestone/crossworld_linkshell/(?P<ID>\\w*)/"
+ },
+ "NAME": {
+ "selector": ".entry__name"
+ },
+ "DC": {
+ "selector": ".entry__world"
+ },
+ "ACTIVE_MEMBERS": {
+ "selector": ".entry__linkshell__member > div > span"
+ }
+ },
+ "PAGE_INFO": {
+ "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)",
+ "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)"
+ },
+ "LIST_NEXT_BUTTON": {
+ "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)",
+ "attribute": "href"
+ },
+ "NO_RESULTS_FOUND": {
+ "selector": ".parts__zero"
+ }
+}