From 52801b4de1d63cd01191acf7fcee137977140ec0 Mon Sep 17 00:00:00 2001 From: lexicade Date: Fri, 27 Jan 2023 21:06:30 +0000 Subject: Project init --- .../freecompany/freecompany.json | 80 ++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json (limited to 'ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json') 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 -- cgit v1.2.3