summaryrefslogtreecommitdiff
path: root/ffxiv/lodestone-css-selectors-0.46.0/profile/character.json
blob: 8a65066f4534c80192953d602a52a8a12551a06e (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
    "ACTIVE_CLASSJOB": {
        "selector": ".character__class_icon > img:nth-child(1)",
        "attribute": "src"
    },
    "ACTIVE_CLASSJOB_LEVEL": {
        "selector": ".character__class__data > p:nth-child(1)",
        "regex": "LEVEL (?P<Level>\\d*)"
    },
    "AVATAR": {
        "selector": ".frame__chara__face > img:nth-child(1)",
        "attribute": "src"
    },
    "BIO": {
        "selector": ".character__selfintroduction"
    },
    "CLASSJOB_ICONS": {
        "ROOT": {
            "selector": "li",
            "multiple": true
        },
        "ICON": {
            "selector": "div.character__class_icon > img",
            "attribute": "src"
        }
    },
    "FREE_COMPANY": {
        "NAME": {
            "selector": ".character__freecompany__name > h4:nth-child(2) > a:nth-child(1)"
        },
        "ICON_LAYERS": {
            "BOTTOM": {
                "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
                "attribute": "src"
            },
            "MIDDLE": {
                "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
                "attribute": "src"
            },
            "TOP": {
                "selector": "div.character__freecompany__crest > div > img:nth-child(1)",
                "attribute": "src"
            }
        }
    },
    "GRAND_COMPANY": {
        "selector": "div.character-block:nth-child(4) > div:nth-child(2) > p:nth-child(2)",
        "regex": "(?P<Name>\\S*) \/ (?P<Rank>.*)"
    },
    "GUARDIAN_DEITY": {
        "NAME": {
            "selector": "p.character-block__name:nth-child(4)"
        },
        "ICON": {
            "selector": "#character > div.character__content.selected > div.character__profile.clearfix > div.character__profile__data > div:nth-child(1) > div > div:nth-child(2) > img",
            "attribute": "src"
        }      
    },
    "GENDER": {
        "selector": "p.character-block__name:nth-child(2)",
        "regex": "(.$)"
    },
    "NAME": {
        "selector": "div.frame__chara__box:nth-child(2) > .frame__chara__name"
    },
    "NAMEDAY": {
        "selector": ".character-block__birth"
    },
    "PORTRAIT": {
        "selector": ".js__image_popup > img:nth-child(1)",
        "attribute": "src"
    },
    "PVP_TEAM": {
        "NAME": {
            "selector": ".character__pvpteam__name > h4:nth-child(2) > a:nth-child(1)",
            "attribute": "href",
            "regex": "/lodestone/pvpteam/(?P<ID>.+)/"
        },
        "ICON_LAYERS": {
            "BOTTOM": {
                "selector": ".character__pvpteam__crest__image img:nth-child(1)",
                "attribute": "src"
            },
            "MIDDLE": {
                "selector": ".character__pvpteam__crest__image img:nth-child(2)",
                "attribute": "src"
            },
            "TOP": {
                "selector": ".character__pvpteam__crest__image img:nth-child(3)",
                "attribute": "src"
            }
        }
    },
    "RACE_CLAN_GENDER": {
        "selector": "div.character-block:nth-child(1) > div:nth-child(2) > p:nth-child(2)",
        "regex": "(?P<Race>.*)(?P<Tribe>.*) \\/ (?P<Gender>.)"
    },
    "SERVER": {
        "selector": "p.frame__chara__world:last-of-type",
        "regex": "(?P<World>\\w*)\\s+\\((?P<DC>\\w*)\\)"
    },
    "TITLE": {
        "selector": ".frame__chara__title"
    },
    "TOWN": {
        "NAME": {
            "selector": "div.character-block:nth-child(3) > div:nth-child(2) > p:nth-child(2)"
        },
        "ICON": {
            "selector": "#character > div.character__content.selected > div.character__profile.clearfix > div.character__profile__data > div:nth-child(1) > div > div:nth-child(3) > img",
            "attribute": "src"
        }
    }
}