fix hl map history

This commit is contained in:
Robin Appelman 2025-04-11 20:03:29 +02:00
commit e2c2c7bdf3
4 changed files with 10074 additions and 4 deletions

View file

@ -162,10 +162,7 @@ impl Parser for MapHistoryParser {
)?;
let date = parse_date(date)?;
let map = select_text(row, &self.selector_previous_map)
.ok_or(ParseError::ElementNotFound {
selector: SELECTOR_PREVIOUS_MAP,
role: "previous season map",
})?
.unwrap_or_default()
.to_string();
season.maps.push(PreviousSeasonMap { week, date, map })
}