From 0d0194664570a47ef4f4c7b6d7eb2257f8216160 Mon Sep 17 00:00:00 2001 From: bradtimmis Date: Wed, 14 Dec 2022 18:21:05 -0500 Subject: Update CSS class in soup target --- bot/exts/utilities/challenges.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/utilities/challenges.py') 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.") -- cgit v1.2.3