From 9e2b5132734f47b3ff407582da6173a507defb60 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Thu, 25 Jan 2024 16:04:29 -0800 Subject: [PATCH] Fix spaces in names --- app/cogs/palworld.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/cogs/palworld.py b/app/cogs/palworld.py index ab9da472..1ad7814b 100755 --- a/app/cogs/palworld.py +++ b/app/cogs/palworld.py @@ -48,7 +48,7 @@ class PalWorld(commands.Cog): description="Pal to look up", ), ): - pal_url = "https://paldex.io/palworld/pals/%s/" % pal.lower() + pal_url = "https://paldex.io/palworld/pals/%s/" % pal.lower().replace(" ", "-") response = requests.get(pal_url) soup = BeautifulSoup(response.text, "html.parser")