From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../lodestone-css-selectors-0.46.0/cwls/cwls.json | 9 ++++ .../cwls/members.json | 51 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/cwls/cwls.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/cwls/members.json (limited to 'ffxiv/lodestone-css-selectors-0.46.0/cwls') diff --git a/ffxiv/lodestone-css-selectors-0.46.0/cwls/cwls.json b/ffxiv/lodestone-css-selectors-0.46.0/cwls/cwls.json new file mode 100644 index 0000000..4c4b007 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.0/cwls/cwls.json @@ -0,0 +1,9 @@ +{ + "NAME": { + "selector": ".heading__linkshell__name", + "regex": "\\s*(?P\\S*)" + }, + "DC": { + "selector": ".heading__cwls__dcname" + } +} \ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.46.0/cwls/members.json b/ffxiv/lodestone-css-selectors-0.46.0/cwls/members.json new file mode 100644 index 0000000..4c86578 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.0/cwls/members.json @@ -0,0 +1,51 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "div.entry", + "multiple": true + }, + "AVATAR": { + "selector": ".entry__chara__face img", + "attribute": "src" + }, + "ID": { + "selector": ".entry__link", + "attribute": "href", + "regex": "/lodestone/character/(?P\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "RANK": { + "selector": ".entry__chara_info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P.+)" + }, + "RANK_ICON": { + "selector": ".entry__chara_info > .js__tooltip > img", + "attribute": "src" + }, + "LINKSHELL_RANK": { + "selector": ".entry__chara_info__linkshell > span" + }, + "LINKSHELL_RANK_ICON": { + "selector": ".entry__chara_info__linkshell > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P\\w*)\\s+\\((?P\\w*)\\)" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(5) > li:nth-child(3)", + "regex": "\\D*(?P\\d+)\\D*(?P\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager:nth-child(5) > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + } +} \ No newline at end of file -- cgit v1.2.3