aoc/2022/get.sh
2022-12-02 06:30:14 +01:00

5 lines
144 B
Bash
Executable File

#!/bin/bash
source ../.env
mkdir -p input/$1
curl "https://adventofcode.com/2022/day/$1/input" -H "Cookie: session=${SESSION}" > input/$1/input