summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/search/freecompany.json
blob: 0d93137e1719d0d612cf02a5247b597f6eb8ce19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{
    "ROOT": {
        "selector": ".ldst__window"
    },
    "ENTRY": {
        "ROOT": {
            "selector": "div.entry",
            "multiple": true
        },
        "CREST_LAYERS": {
            "BOTTOM": {
                "selector": ".entry__freecompany__crest__image > img:nth-child(1)",
                "attribute": "src"
            },
            "MIDDLE": {
                "selector": ".entry__freecompany__crest__image > img:nth-child(2)",
                "attribute": "src"
            },
            "TOP": {
                "selector": ".entry__freecompany__crest__image > img:nth-child(3)",
                "attribute": "src"
            }
        },
        "ID": {
            "selector": ".entry__block",
            "attribute": "href",
            "regex": "/lodestone/freecompany/(?P<ID>\\d*)/"
        },
        "GRAND_COMPANY": {
            "selector": ".entry__world:nth-child(1)"
        },
        "NAME": {
            "selector": ".entry__name"
        },
        "SERVER": {
            "selector": ".entry__world:nth-child(3)",
            "regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
        },
        "ACTIVE": {
            "selector": "li.entry__freecompany__fc-active:nth-child(4)",
            "regex": "Active:\\s+(?P<State>\\w*)"
        },
        "ACTIVE_MEMBERS": {
            "selector": ".entry__freecompany__fc-member"
        },
        "RECRUITMENT_OPEN": {
            "selector": "li.entry__freecompany__fc-active:nth-child(5)",
            "regex": "Recruitment:\\s+(?P<State>\\w*)"
        },
        "ESTATE_BUILT": {
            "selector": ".entry__freecompany__fc-housing"
        },
        "FORMED": {
            "selector": ".entry__freecompany__fc-day > script",
            "regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)"
        }
    },
    "PAGE_INFO": {
        "selector": "ul.btn__pager:nth-child(6) > li:nth-child(3)",
        "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)"
    },
    "LIST_NEXT_BUTTON": {
        "selector": "ul.btn__pager > li:nth-child(4) > a:nth-child(1)",
        "attribute": "href"
    },
    "NO_RESULTS_FOUND": {
        "selector": ".parts__zero"
    }
}