diff --git a/2022/rust/fetch_input.sh b/2022/rust/fetch_input.sh index 121ddfd..18d3fd3 100755 --- a/2022/rust/fetch_input.sh +++ b/2022/rust/fetch_input.sh @@ -12,7 +12,7 @@ if [ -f "$f" ]; then exit 0 fi url="https://adventofcode.com/$AOC_YEAR/day/$DAY/input" -cookie="$(cat "$HOME/.advent-of-code-auth-cookie")" +cookie="$(cat "$HOME/.advent-of-code-session-cookie")" mkdir -p "$(dirname "$f")" if curl --fail-with-body -X GET "$url" -H "Cookie:$cookie" > "$f"; then echo "Downloaded $url to $f"