mirror of
https://codeberg.org/icewind/ugc-scaper.git
synced 2026-06-03 10:14:11 +02:00
fix hl map history
This commit is contained in:
parent
c7adeef08e
commit
e2c2c7bdf3
4 changed files with 10074 additions and 4 deletions
|
|
@ -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 })
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue