summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/cwls/members.json
blob: 4c865782bd2079617a32c78a2261a92a1f16f35b (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
{
    "ROOT": {
        "selector": ".ldst__window"
    },
    "ENTRY": {
        "ROOT": {
            "selector": "div.entry",
            "multiple": true
        },
        "AVATAR": {
            "selector": ".entry__chara__face img",
            "attribute": "src"
        },
        "ID": {
            "selector": ".entry__link",
            "attribute": "href",
            "regex": "/lodestone/character/(?P<ID>\\d*)/"
        },
        "NAME": {
            "selector": ".entry__name"
        },
        "RANK": {
            "selector": ".entry__chara_info > .js__tooltip",
            "attribute": "data-tooltip",
            "regex": "/ (?P<RankName>.+)"
        },
        "RANK_ICON": {
            "selector": ".entry__chara_info > .js__tooltip > img",
            "attribute": "src"
        },
        "LINKSHELL_RANK": {
            "selector": ".entry__chara_info__linkshell > span"
        },
        "LINKSHELL_RANK_ICON": {
            "selector": ".entry__chara_info__linkshell > img",
            "attribute": "src"
        },
        "SERVER": {
            "selector": ".entry__world",
            "regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
        }
    },
    "PAGE_INFO": {
        "selector": "ul.btn__pager:nth-child(5) > li:nth-child(3)",
        "regex": "\\D*(?P<CurrentPage>\\d+)\\D*(?P<NumPages>\\d+)"
    },
    "LIST_NEXT_BUTTON": {
        "selector": "ul.btn__pager:nth-child(5) > li:nth-child(4) > a:nth-child(1)",
        "attribute": "href"
    }
}