Skip to content

Commit ef656af

Browse files
authored
Merge pull request #17 from SeanLatimer/main
Selector fix for when FC Community finder element is present
2 parents 1e8a92c + 5cdbcf2 commit ef656af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

freecompany/freecompany.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"ACTIVE_STATE": {
3-
"selector": "p.freecompany__text:nth-child(3)",
3+
"selector": "p.freecompany__text:nth-of-type(1)",
44
"regex": "\\s*(?P<ActiveState>\\S+\\s?\\S*)"
55
},
66
"ACTIVE_MEMBER_COUNT": {
7-
"selector": "p.freecompany__text:nth-child(12)"
7+
"selector": "p.freecompany__text:nth-of-type(6)"
88
},
99
"CREST_LAYERS": {
1010
"BOTTOM": {
@@ -23,7 +23,7 @@
2323
"ESTATE": {
2424
"NO_ESTATE": {
2525
"selector": ".freecompany__estate__none"
26-
},
26+
},
2727
"GREETING": {
2828
"selector": ".freecompany__estate__greeting"
2929
},
@@ -35,7 +35,7 @@
3535
}
3636
},
3737
"FORMED": {
38-
"selector": "p.freecompany__text:nth-child(10) > script",
38+
"selector": "p.freecompany__text:nth-of-type(5) > script",
3939
"regex": ".*ldst_strftime\\((?P<Timestamp>\\d*)"
4040
},
4141
"GRAND_COMPANY": {
@@ -51,7 +51,7 @@
5151
"selector": ".freecompany__text__name"
5252
},
5353
"RANK": {
54-
"selector": "p.freecompany__text:nth-child(14)"
54+
"selector": "p.freecompany__text:nth-of-type(7)"
5555
},
5656
"RANKING": {
5757
"WEEKLY": {

0 commit comments

Comments
 (0)