Closed zoton2 closed 3 years ago
There is also an issue where people's speedrun.com name differs from their Twitch name, and if you export the Oengus schedule to Horaro and then try to import it, the search fails because the name is a Twitch username but there is no link, so it only attempts to check the name
paramter, and finds nothing.
Have attempted to improve this, just as an extra measure we even attempt to check the Twitter username. We also now check the first 10 results for an exact match if possible.
Recently I noticed the
lookup
parameter on the speedrun.com API wasn't working anymore (since reported) so in thedev
branch I changed it to using thetwitch
orname
parameters where applicable. In a production though it found found an incorrect user because of how their backend searching works. This should be improved in a similar way to how I improved the Twitch API directory search, where it gets the first X results instead of just the first, and checks for an exact match and uses that if available.