aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2018-12-05 15:07:37 -0500
committerGravatar sco1 <[email protected]>2018-12-05 15:07:37 -0500
commitdb467903efb374e34319a8f4283c0078ea4cfcf8 (patch)
treec1dd0e28d4e8723642b3d7c558333d9e6b081eda /bot
parentAdd daily summary command (diff)
Fix leaderboard parsing regex to support twitter handles
Diffstat (limited to 'bot')
-rw-r--r--bot/seasons/christmas/adventofcode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py
index 213ecf23..f840a449 100644
--- a/bot/seasons/christmas/adventofcode.py
+++ b/bot/seasons/christmas/adventofcode.py
@@ -656,7 +656,7 @@ class AocGlobalLeaderboard:
soup = BeautifulSoup(raw_html, "html.parser")
ele = soup.find_all("div", class_="leaderboard-entry")
- exp = r"(?:[ ]{,2}(\d+)\))?[ ]+(\d+)\s+([\w\(\)#\-\d ]+)"
+ exp = r"(?:[ ]{,2}(\d+)\))?[ ]+(\d+)\s+([\w\(\)\#\@\-\d ]+)"
lb_list = []
for entry in ele: