aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utilities/challenges.py
diff options
context:
space:
mode:
authorGravatar bradtimmis <[email protected]>2022-12-14 18:21:05 -0500
committerGravatar bradtimmis <[email protected]>2022-12-14 18:21:05 -0500
commit0d0194664570a47ef4f4c7b6d7eb2257f8216160 (patch)
tree1c1d8a8c0675117921c0ca9140400d7f69d05fda /bot/exts/utilities/challenges.py
parentMerge pull request #1166 from python-discord/dependabot/pip/lxml-4.9.2 (diff)
Update CSS class in soup target
Diffstat (limited to 'bot/exts/utilities/challenges.py')
-rw-r--r--bot/exts/utilities/challenges.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utilities/challenges.py b/bot/exts/utilities/challenges.py
index 1a5bf289..54e57212 100644
--- a/bot/exts/utilities/challenges.py
+++ b/bot/exts/utilities/challenges.py
@@ -118,7 +118,7 @@ class Challenges(commands.Cog):
return error_embed
soup = BeautifulSoup(await response.text(), features="lxml")
- first_kata_div = await to_thread(soup.find_all, "div", class_="item-title px-0")
+ first_kata_div = await to_thread(soup.find_all, "div", class_="list-item-kata")
if not first_kata_div:
raise commands.BadArgument("No katas could be found with the filters provided.")