summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json
diff options
context:
space:
mode:
Diffstat (limited to 'ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json')
-rw-r--r--ffxiv/lodestone-css-selectors-0.46.0/freecompany/freecompany.json80
1 files changed, 80 insertions, 0 deletions
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<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"
+ }
+} \ No newline at end of file