diff options
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.52.0/freecompany')
5 files changed, 378 insertions, 0 deletions
diff --git a/ffxiv/lodestone-css-selectors-0.52.0/freecompany/focus.json b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/focus.json new file mode 100644 index 0000000..44850be --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/focus.json @@ -0,0 +1,131 @@ +{ + "NOT_SPECIFIED": { + "selector": "p.freecompany__text:nth-child(7)" + }, + "RP": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(1) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(1) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(1)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "LEVELING": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(2) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(3) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(3)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "CASUAL": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(3) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(3) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(3)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "HARDCORE": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(4) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(4) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(4)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "DUNGEONS": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(5) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(5) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(5)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "GUILDHESTS": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(6) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(6) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(6)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "TRIALS": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(7) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(7) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(7)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "RAIDS": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(8) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(8) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(8)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + }, + "PVP": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(9) > p:nth-child(2)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(9) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(7) > li:nth-child(9)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + } + } +}
\ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.52.0/freecompany/freecompany.json b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/freecompany.json new file mode 100644 index 0000000..63cc831 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/freecompany.json @@ -0,0 +1,80 @@ +{ + "ACTIVE_STATE": { + "selector": "p.freecompany__text:nth-child(3)", + "regex": "\\s*(?P<ActiveState>\\S+\\s?\\S*)" + }, + "ACTIVE_MEMBER_COUNT": { + "selector": "p.freecompany__text:nth-child(12)" + }, + "CREST_LAYERS": { + "BOTTOM": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > img:nth-child(1)", + "attribute": "src" + }, + "MIDDLE": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > img:nth-child(2)", + "attribute": "src" + }, + "TOP": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > img:nth-child(3)", + "attribute": "src" + } + }, + "ESTATE": { + "NO_ESTATE": { + "selector": ".freecompany__estate__none" + }, + "GREETING": { + "selector": ".freecompany__estate__greeting" + }, + "NAME": { + "selector": ".freecompany__estate__name" + }, + "PLOT": { + "selector": ".freecompany__estate__text" + } + }, + "FORMED": { + "selector": "p.freecompany__text:nth-child(10) > script", + "regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)" + }, + "GRAND_COMPANY": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(2) > p:nth-child(1)", + "regex": "(?P<Name>\\w.*)<(?P<Rank>\\w*)>" + }, + "ID": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1)", + "attribute": "href", + "regex": "/lodestone/freecompany/(?P<ID>\\d*)/" + }, + "NAME": { + "selector": ".freecompany__text__name" + }, + "RANK": { + "selector": "p.freecompany__text:nth-child(14)" + }, + "RANKING": { + "WEEKLY": { + "selector": ".character__ranking__data tr:nth-child(1) > th:nth-child(1)", + "regex": "Weekly Rank:(?P<Rank>.+) \\(previous week\\)" + }, + "MONTHLY": { + "selector": ".character__ranking__data tr:nth-child(2) > th:nth-child(1)", + "regex": "Monthly Rank:(?P<Rank>.*) \\(previous month\\)" + } + }, + "RECRUITMENT": { + "selector": "p.freecompany__text:nth-child(5)", + "regex": "\\s*(?P<ActiveState>\\S*)" + }, + "SERVER": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1) > div:nth-child(2) > p:nth-child(3)", + "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]" + }, + "SLOGAN": { + "selector": ".freecompany__text__message" + }, + "TAG": { + "selector": ".freecompany__text.freecompany__text__tag" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/freecompany/members.json b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/members.json new file mode 100644 index 0000000..aa7c897 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/members.json @@ -0,0 +1,51 @@ +{ + "ROOT": { + "selector": ".ldst__window" + }, + "ENTRY": { + "ROOT": { + "selector": "li.entry", + "multiple": true + }, + "AVATAR": { + "selector": ".entry__chara__face > img", + "attribute": "src" + }, + "ID": { + "selector": ".entry__bg", + "attribute": "href", + "regex": "/lodestone/character/(?P<ID>\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "FC_RANK": { + "selector": ".entry__freecompany__info > li:nth-child(1) > span" + }, + "FC_RANK_ICON": { + "selector": ".entry__freecompany__info > li:nth-child(1) > img", + "attribute": "src" + }, + "RANK": { + "selector": ".entry__freecompany__info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P<RankName>.+)" + }, + "RANK_ICON": { + "selector": ".entry__freecompany__info > .js__tooltip > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P<World>\\w*)\\s+\\[(?P<DC>\\w*)\\]" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(4) > li:nth-child(3)", + "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager:nth-child(4) > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + } +} diff --git a/ffxiv/lodestone-css-selectors-0.52.0/freecompany/reputation.json b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/reputation.json new file mode 100644 index 0000000..c88df40 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/reputation.json @@ -0,0 +1,41 @@ +{ + "MAELSTROM": { + "NAME": { + "selector": "div.freecompany__reputation:nth-child(16) > div:nth-child(2) > p:nth-child(1)" + }, + "PROGRESS": { + "selector": "div.freecompany__reputation:nth-child(16) > div:nth-child(2) > div:nth-child(3) > div:nth-child(1)", + "attribute": "style", + "regex": "width:(?P<Progress>\\d+)%;" + }, + "RANK": { + "selector": "div.freecompany__reputation:nth-child(16) > div:nth-child(2) > p:nth-child(2)" + } + }, + "ADDERS": { + "NAME": { + "selector": "div.freecompany__reputation:nth-child(17) > div:nth-child(2) > p:nth-child(1)" + }, + "PROGRESS": { + "selector": "div.freecompany__reputation:nth-child(17) > div:nth-child(2) > div:nth-child(3) > div:nth-child(1)", + "attribute": "style", + "regex": "width:(?P<Progress>\\d+)%;" + }, + "RANK": { + "selector": "div.freecompany__reputation:nth-child(17) > div:nth-child(2) > p:nth-child(2)" + } + }, + "FLAMES": { + "NAME": { + "selector": "div.freecompany__reputation:nth-child(18) > div:nth-child(2) > p:nth-child(1)" + }, + "PROGRESS": { + "selector": "div.freecompany__reputation:nth-child(18) > div:nth-child(2) > div:nth-child(3) > div:nth-child(1)", + "attribute": "style", + "regex": "width:(?P<Progress>\\d+)%;" + }, + "RANK": { + "selector": "div.freecompany__reputation:nth-child(18) > div:nth-child(2) > p:nth-child(2)" + } + } +}
\ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.52.0/freecompany/seeking.json b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/seeking.json new file mode 100644 index 0000000..164c01a --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.52.0/freecompany/seeking.json @@ -0,0 +1,75 @@ +{ + "NOT_SPECIFIED": { + "selector": "p.parts__text:nth-child(9)" + }, + "TANK": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(1) > p:nth-child(2)" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(1)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(1) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + } + }, + "HEALER": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(2) > p:nth-child(2)" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(2)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(2) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + } + }, + "DPS": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(3) > p:nth-child(2)" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(3)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(3) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + } + }, + "CRAFTER": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(4) > p:nth-child(2)" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(4)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(4) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + } + }, + "GATHERER": { + "NAME": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(5) > p:nth-child(2)" + }, + "STATUS": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(5)", + "attribute": "class", + "regex": "freecompany__focus_icon--(?P<Status>off)" + }, + "ICON": { + "selector": "ul.freecompany__focus_icon:nth-child(9) > li:nth-child(5) > div:nth-child(1) > img:nth-child(1)", + "attribute": "src" + } + } +}
\ No newline at end of file |