From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../freecompany/focus.json | 131 +++++++++++++++++++++ .../freecompany/freecompany.json | 80 +++++++++++++ .../freecompany/members.json | 44 +++++++ .../freecompany/reputation.json | 41 +++++++ .../freecompany/seeking.json | 75 ++++++++++++ 5 files changed, 371 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/focus.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/members.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/reputation.json create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/seeking.json (limited to 'ffxiv/lodestone-css-selectors-0.46.0/freecompany') diff --git a/ffxiv/lodestone-css-selectors-0.46.0/freecompany/focus.json b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/focus.json new file mode 100644 index 0000000..44850be --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + }, + "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--(?Poff)" + } + } +} \ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json new file mode 100644 index 0000000..2ac1048 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json @@ -0,0 +1,80 @@ +{ + "ACTIVE_STATE": { + "selector": "p.freecompany__text:nth-child(3)", + "regex": "\\s*(?P\\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\\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\\w.*)<(?P\\w*)>" + }, + "ID": { + "selector": "div.ldst__window:nth-child(1) > div:nth-child(2) > a:nth-child(1)", + "attribute": "href", + "regex": "/lodestone/freecompany/(?P\\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.+) \\(previous week\\)" + }, + "MONTHLY": { + "selector": ".character__ranking__data tr:nth-child(2) > th:nth-child(1)", + "regex": "Monthly Rank:(?P.*) \\(previous month\\)" + } + }, + "RECRUITMENT": { + "selector": "p.freecompany__text:nth-child(5)", + "regex": "\\s*(?P\\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\\w*)\\s+\\((?P\\w*)\\)" + }, + "SLOGAN": { + "selector": ".freecompany__text__message" + }, + "TAG": { + "selector": ".freecompany__text.freecompany__text__tag" + } +} \ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.46.0/freecompany/members.json b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/members.json new file mode 100644 index 0000000..0723bc5 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/members.json @@ -0,0 +1,44 @@ +{ + "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\\d*)/" + }, + "NAME": { + "selector": ".entry__name" + }, + "RANK": { + "selector": ".entry__freecompany__info > .js__tooltip", + "attribute": "data-tooltip", + "regex": "/ (?P.+)" + }, + "RANK_ICON": { + "selector": ".entry__freecompany__info > .js__tooltip > img", + "attribute": "src" + }, + "SERVER": { + "selector": ".entry__world", + "regex": "(?P\\w*)\\s+\\((?P\\w*)\\)" + } + }, + "PAGE_INFO": { + "selector": "ul.btn__pager:nth-child(4) > li:nth-child(3)", + "regex": "\\D*(?P\\d+)\\D*(?P\\d+)" + }, + "LIST_NEXT_BUTTON": { + "selector": "ul.btn__pager:nth-child(4) > li:nth-child(4) > a:nth-child(1)", + "attribute": "href" + } +} \ No newline at end of file diff --git a/ffxiv/lodestone-css-selectors-0.46.0/freecompany/reputation.json b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/reputation.json new file mode 100644 index 0000000..c88df40 --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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\\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\\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\\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.46.0/freecompany/seeking.json b/ffxiv/lodestone-css-selectors-0.46.0/freecompany/seeking.json new file mode 100644 index 0000000..164c01a --- /dev/null +++ b/ffxiv/lodestone-css-selectors-0.46.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--(?Poff)" + }, + "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--(?Poff)" + }, + "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--(?Poff)" + }, + "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--(?Poff)" + }, + "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--(?Poff)" + }, + "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 -- cgit v1.2.3