Yeah lmao the "\" was indeed the problem and I feel fucking stupid now for not having caught that sooner. Maybe the program should've caught that instead of giving a completely unrelated error but hey ultimately it was user mistake.
Just tested without it and it works fine, downloading perfectly