aoc2019/get-input

5 lines
132 B
Bash
Executable File

#!/bin/bash
session=$(cat .session)
curl -SsH "Cookie: session=$session" https://adventofcode.com/2019/day/$1/input > input.$1.txt