diff options
author | 2022-12-15 18:15:55 +0000 | |
---|---|---|
committer | 2022-12-15 18:15:55 +0000 | |
commit | 9d3868505d5bf3fe023a88fec2d0014dc29abd69 (patch) | |
tree | 1c1d8a8c0675117921c0ca9140400d7f69d05fda | |
parent | Merge pull request #1166 from python-discord/dependabot/pip/lxml-4.9.2 (diff) | |
parent | Update CSS class in soup target (diff) |
Merge pull request #1169 from python-discord/kata
Update CSS class in soup target
-rw-r--r-- | bot/exts/utilities/challenges.py | 2 |
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.") |