Closed Malikil closed 4 years ago
This seems hopeful as a beatmap parser https://www.npmjs.com/package/osu-parser
As I was talking about with oralekin as well, it seems like map info can be grabbed from the server relatively reliably with this kind of example (from sheets)
const url = "https://osu.ppy.sh/osu/" + id;
const content = UrlFetchApp.fetch(url).getContentText();
if (content == "") throw new Error("Could not find a beatmap with the specified id.");
const lines = content.split("\n");
var section = "";
I wasn't able to cover as many items as I wanted or was hoping to, but I've got the key ones like 2b and spinner AR goofyness
This would probably involve downloading the .osu files somehow (node-fetch?), then read through the downloaded file for things like 2b, self-overlapping sliders, hitsounds, etc.
If this is done to a reliable standard, I believe this should allow map submission and checking to be done entirely automatically. Meaning map selectors can go back to only selecting tbs, none of this approval stuff.