puzzle downloader v1
This commit is contained in:
8
utils/getpuzzle.sh
Executable file
8
utils/getpuzzle.sh
Executable 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
|
||||
Reference in New Issue
Block a user