Closed tylersweat closed 3 years ago
While a good idea, I'd rather not import an additional library (urllib) to fix an issue with a space in the name. Most likely I'll use a .replace(" ","%20")
do accomplish the same thing without the need for an additional library. Thank you though.
I'll go make that change.
Using Python3's built-in urllib package, escape the username so that the Hiscores will still work for a username containing a space without throwing an exception.
Before:
After: