Fix spaces in names
This commit is contained in:
parent
fe78df580f
commit
9e2b513273
@ -48,7 +48,7 @@ class PalWorld(commands.Cog):
|
|||||||
description="Pal to look up",
|
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)
|
response = requests.get(pal_url)
|
||||||
soup = BeautifulSoup(response.text, "html.parser")
|
soup = BeautifulSoup(response.text, "html.parser")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user