From ec6e98f6aed5684131a0fd42ed1d47864eb821aa Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Mon, 2 Dec 2024 00:01:56 +0100 Subject: 2024 --- 2024/get_input.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 2024/get_input.sh (limited to '2024/get_input.sh') diff --git a/2024/get_input.sh b/2024/get_input.sh new file mode 100755 index 0000000..a94f7ce --- /dev/null +++ b/2024/get_input.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +set -eu +curl -H "Cookie: session=$(cat aoc-cookie.txt)" https://adventofcode.com/2024/day/"$1"/input >"$1".in -- cgit v1.2.3-70-g09d2