aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar wookie184 <[email protected]>2022-12-15 18:15:55 +0000
committerGravatar GitHub <[email protected]>2022-12-15 18:15:55 +0000
commit9d3868505d5bf3fe023a88fec2d0014dc29abd69 (patch)
tree1c1d8a8c0675117921c0ca9140400d7f69d05fda /bot
parentMerge pull request #1166 from python-discord/dependabot/pip/lxml-4.9.2 (diff)
parentUpdate CSS class in soup target (diff)
Merge pull request #1169 from python-discord/kata
Update CSS class in soup target
Diffstat (limited to 'bot')
-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.")