puzzle downloader v1

This commit is contained in:
2023-11-30 20:17:26 +02:00
parent a9801cc262
commit c82ee691a1

8
utils/getpuzzle.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
source "$(dirname "$0")/../.env"
day=$(date +%d)
echo "Getting input for day $day"
curl -s -S --cookie "$COOKIE" --output ./input.txt https://adventofcode.com/2023/day/$day/input