AOC2023: Add helper for downloading puzzle input
This commit is contained in:
1
userspace/aoc2023/input/.gitignore
vendored
Normal file
1
userspace/aoc2023/input/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
day*_input.txt
|
||||
3
userspace/aoc2023/input/get-input.sh
Executable file
3
userspace/aoc2023/input/get-input.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
wget --no-cookies --header "Cookie: session=$AOC_SESSION" https://adventofcode.com/2023/day/$1/input -O day$1_input.txt
|
||||
Reference in New Issue
Block a user