Add solution for 2015 Day 19
This commit is contained in:
@@ -13,7 +13,7 @@ for item in $list; do
|
||||
dir="res/$year/day$day/input.txt"
|
||||
if [ ! -e $dir ]; then
|
||||
webitem=${day#0}
|
||||
echo "Fetching $dir"
|
||||
echo "Fetching $dir from https://adventofcode.com/$year/day/$webitem/input"
|
||||
tmp_file=$(mktemp)
|
||||
HTTP_CODE=$(curl -s -w "%{http_code}" -o "$tmp_file" --cookie cookies.txt https://adventofcode.com/$year/day/$webitem/input)
|
||||
if [ "$HTTP_CODE" -eq 200 ]; then
|
||||
|
||||
Reference in New Issue
Block a user