Skip to content

Commit 85c745c

Browse files
committed
linkshell/CWLS selectors
1 parent e8a54bc commit 85c745c

File tree

5 files changed

+92
-1
lines changed

5 files changed

+92
-1
lines changed

linkshell/crossworld/cwls.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"NAME": {
3+
"selector": ".heading__linkshell__name"
4+
},
5+
"DC": {
6+
"selector": ".heading__cwls__dcname"
7+
}
8+
}

linkshell/crossworld/members.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"ENTRIES_CONTAINER": {
3+
"selector": ""
4+
},
5+
"ENTRY": {
6+
"ROOT": {
7+
"selector": "div.entry"
8+
},
9+
"AVATAR": {
10+
"selector": ".entry__chara__face img"
11+
},
12+
"ID": {
13+
"selector": ".entry__link",
14+
"attribute": "href",
15+
"regex": "/lodestone/character/(?P<ID>\\d*)/"
16+
},
17+
"NAME": {
18+
"selector": ".entry__name"
19+
},
20+
"MATCHES": {
21+
"selector": ".entry__freecompany__info > li:last-of-type > span"
22+
},
23+
"RANK": {
24+
"selector": ".entry__chara_info__linkshell > span"
25+
},
26+
"RANK_ICON": {
27+
"selector": ".entry__chara_info__linkshell > img",
28+
"attribute": "src"
29+
},
30+
"SERVER": {
31+
"selector": ".entry__world",
32+
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
33+
}
34+
},
35+
"LIST_NEXT_BUTTON": {
36+
"selector": "ul.btn__pager:nth-child(5) > li:nth-child(4) > a:nth-child(1)",
37+
"attribute": "href"
38+
}
39+
}

linkshell/ls.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"NAME": {
3+
"selector": ".heading__linkshell__name"
4+
}
5+
}

linkshell/members.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"ENTRIES_CONTAINER": {
3+
"selector": ""
4+
},
5+
"ENTRY": {
6+
"ROOT": {
7+
"selector": "div.entry"
8+
},
9+
"AVATAR": {
10+
"selector": ".entry__chara__face img"
11+
},
12+
"ID": {
13+
"selector": ".entry__link",
14+
"attribute": "href",
15+
"regex": "/lodestone/character/(?P<ID>\\d*)/"
16+
},
17+
"NAME": {
18+
"selector": ".entry__name"
19+
},
20+
"MATCHES": {
21+
"selector": ".entry__freecompany__info > li:last-of-type > span"
22+
},
23+
"RANK": {
24+
"selector": ".entry__chara_info__linkshell > span"
25+
},
26+
"RANK_ICON": {
27+
"selector": ".entry__chara_info__linkshell > img",
28+
"attribute": "src"
29+
},
30+
"SERVER": {
31+
"selector": ".entry__world",
32+
"regex": "(?P<World>\\w*)[\\s\\x{00A0}]\\((?P<DC>\\w*)\\)"
33+
}
34+
},
35+
"LIST_NEXT_BUTTON": {
36+
"selector": "ul.btn__pager:nth-child(5) > li:nth-child(4) > a:nth-child(1)",
37+
"attribute": "href"
38+
}
39+
}

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.24.0",
2+
"version": "0.25.0",
33
"userAgentDesktop": "curl/7.73.0",
44
"userAgentMobile": "Mozilla/5.0 (iPhone; CPU OS 10_15_5 (Ergänzendes Update) like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1 Mobile/14E304 Safari/605.1.15"
55
}

0 commit comments

Comments
 (0)