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
|
{
"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"
}
}
|