fix: adopt to latest layout changes
This commit is contained in:
parent
61e0fbe46c
commit
65097796c1
@ -47,8 +47,8 @@ pub fn get_current_places(url: &str) -> Result<Vec<RemainingPlace>, reqwest::Err
|
||||
}
|
||||
}
|
||||
|
||||
lines.chunks(6).for_each(|chunk| {
|
||||
let free = try_parse_free_slot(&chunk[4]);
|
||||
lines.chunks(5).for_each(|chunk| {
|
||||
let free = try_parse_free_slot(&chunk[3]);
|
||||
let (id, description) = if let Some((id, description)) = chunk[0].split_once(' ') {
|
||||
(id, description)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user