Currently, the selectors used for Eureka and Bozja fail if only one of the two pieces of content are unlocked.
Below is a section of the ClassJob page with both unlocked:

And here's one with only one:

The current selectors for these are located here:
|
"BOZJA": { |
|
"LEVEL": { |
|
"selector": "div.character__job__list:nth-child(7) > div:nth-child(2)" |
|
}, |
|
"METTLE": { |
|
"selector": "div.character__job__list:nth-child(7) > div:nth-child(4)", |
|
"regex": "(?P<Mettle>\\S+) \\/" |
|
}, |
|
"NAME": { |
|
"selector": "div.character__job__list:nth-child(7) > div:nth-child(3)" |
|
} |
|
}, |
|
"EUREKA": { |
|
"EXP": { |
|
"selector": "div.character__job__list:nth-child(9) > div:nth-child(4)", |
|
"regex": "(?P<CurrentEXP>\\S+) \\/ (?P<MaxEXP>\\S+)" |
|
}, |
|
"LEVEL": { |
|
"selector": "div.character__job__list:nth-child(9) > div:nth-child(2)" |
|
}, |
|
"NAME": { |
|
"selector": "div.character__job__list:nth-child(9) > div:nth-child(3)" |
|
} |
|
}, |
The problem is that the :nth-child pseudoclass can't account for either content section being missing, and no alternatives seem to be able to do so either. The :first-of-type pseudoclass doesn't apply to classes, only elements. This Stack Overflow question's answers discuss this in more detail.
Currently, the selectors used for Eureka and Bozja fail if only one of the two pieces of content are unlocked.
Below is a section of the ClassJob page with both unlocked:

And here's one with only one:

The current selectors for these are located here:
lodestone-css-selectors/profile/classjob.json
Lines 2 to 25 in 5d0327c
The problem is that the
:nth-childpseudoclass can't account for either content section being missing, and no alternatives seem to be able to do so either. The:first-of-typepseudoclass doesn't apply to classes, only elements. This Stack Overflow question's answers discuss this in more detail.