summaryrefslogtreecommitdiff
path: root/2024/get_input.sh
blob: a94f7ce1859bb5b4bf6f613febe539909809e2a2 (plain)
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