diff --git a/src/lib.rs b/src/lib.rs index 586c5bc..ccf56de 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,7 +27,7 @@ pub fn fetch_input(day: u8) -> Result { 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()?;