1 2 3
#!/usr/bin/env bash set -eu curl -H "Cookie: session=$(cat aoc-cookie.txt)" https://adventofcode.com/2024/day/"$1"/input >"$1".in