summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/linkshell
diff options
context:
space:
mode:
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.46.0/linkshell')
-rw-r--r--ffxiv/lodestone-css-selectors-0.46.0/linkshell/ls.json5
-rw-r--r--ffxiv/lodestone-css-selectors-0.46.0/linkshell/members.json51
2 files changed, 56 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.46.0/linkshell/ls.json b/ffxiv/lodestone-css-selectors-0.46.0/linkshell/ls.json
new file mode 100644
index 0000000..c33ccb5
--- /dev/null
+++ b/ffxiv/lodestone-css-selectors-0.46.0/linkshell/ls.json
@@ -0,0 +1,5 @@
+{
+ "NAME": {
+ "selector": ".heading__linkshell__name"
+ }
+} \ No newline at end of file
diff --git a/ffxiv/lodestone-css-selectors-0.46.0/linkshell/members.json b/ffxiv/lodestone-css-selectors-0.46.0/linkshell/members.json
new file mode 100644
index 0000000..4c86578
--- /dev/null
+++ b/ffxiv/lodestone-css-selectors-0.46.0/linkshell/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<ID>\\d*)/"
+ },
+ "NAME": {
+ "selector": ".entry__name"
+ },
+ "RANK": {
+ "selector": ".entry__chara_info > .js__tooltip",
+ "attribute": "data-tooltip",
+ "regex": "/ (?P<RankName>.+)"
+ },
+ "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<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
+ }
+ },
+ "PAGE_INFO": {
+ "selector": "ul.btn__pager:nth-child(5) > li:nth-child(3)",
+ "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\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