summaryrefslogtreecommitdiff
path: root/2026/get_input.sh
diff options
context:
space:
mode:
Diffstat (limited to '2026/get_input.sh')
-rwxr-xr-x2026/get_input.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/2026/get_input.sh b/2026/get_input.sh
new file mode 100755
index 0000000..5f396b0
--- /dev/null
+++ b/2026/get_input.sh
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+set -eu
+curl -H "Cookie: session=$(cat aoc-cookie.txt)" https://adventofcode.com/2026/day/"$1"/input >"$1".in