day=$(date +%-e) day_zero=$(date +%0e) session=$(cat .sessioncookie) mkdir -p input curl -b "session=${session}" -o "./input/${day_zero}.txt" "https://adventofcode.com/2024/day/${day}/input"