fix: this is 2023, don't download last year's inputs
This commit is contained in:
parent
19a1f7e4fc
commit
217944d106
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub fn fetch_input(day: u8) -> Result<String> {
|
|||
std::fs::read_to_string(cache).map_err(|e| eyre!("failed to read input cache: {e}"))
|
||||
} else {
|
||||
println!("miss! fetching input for day {day}");
|
||||
let body: String = ureq::get(&format!("https://adventofcode.com/2022/day/{day}/input"))
|
||||
let body: String = ureq::get(&format!("https://adventofcode.com/2023/day/{day}/input"))
|
||||
.set("Cookie", AOC_SESSION_COOKIE)
|
||||
.call()?
|
||||
.into_string()?;
|
||||
|
|
Loading…
Reference in a new issue