From ce975d0f1eb05893ff0c20b816053a7f31fb2491 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Thu, 23 Oct 2025 22:24:20 -0400 Subject: [PATCH] fix(ci): regex --- scrapers/cses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/cses.py b/scrapers/cses.py index b8a6145..422801e 100644 --- a/scrapers/cses.py +++ b/scrapers/cses.py @@ -76,7 +76,7 @@ CATEGORY_BLOCK_RE = re.compile( re.DOTALL, ) TASK_LINK_RE = re.compile( - r'
  • (?P[^<]+)</a>', + r'<li\s+class="task">\s*<a\s+href="/problemset/task/(?P<id>\d+)/?">(?P<title>[^<]+)</a\s*>', re.DOTALL, )