limjeck / osuplus

GNU General Public License v3.0
140 stars 37 forks source link

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

Open donMerloni opened 1 year ago

donMerloni commented 1 year 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)