limjeck / osuplus

GNU General Public License v3.0
133 stars 38 forks source link

Better support for "osu! subdivide nations" extension #80

Open donMerloni opened 10 months ago

donMerloni commented 10 months ago

when using the osu! subdivide nations extension, osuplus can't get the user ID for players with the extra flag because it happens to sit in an anchor <a> element at index 1.

so at the end the playerInfo array is shorter than expected and we crash at the first null element member access: image (I trimmed off some rows at the top)

using .ranking-page-table__user-link-text seems better (and probably more robust in general)