fix parsing
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user