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