fix parsing

This commit is contained in:
LockeShor
2026-03-01 01:09:08 -05:00
parent 902bc9dbd6
commit 886564160e

View File

@@ -96,7 +96,7 @@ def parse_catalog(html: str) -> Dict[str, AppSnapshot]:
if " Added:" in remainder:
train_part, after_added = remainder.split(" Added:", 1)
train = train_part.strip()
pieces = after_added.split(" ", 1)
pieces = after_added.strip().split(" ", 1)
added = pieces[0].strip()
summary = pieces[1].strip() if len(pieces) > 1 else ""
else: