diff --git a/new.sh b/new.sh index ebd58c6..ca742a3 100755 --- a/new.sh +++ b/new.sh @@ -7,7 +7,9 @@ if [ "${1}" != "" ]; then mkdir -p ${padded}/inputs touch ${padded}/inputs/testinput if [ ! -f "${padded}/inputs/input" ]; then - curl -s -H "Cookie: session=`cat .cookie`" https://adventofcode.com/${__year}/day/${1##0}/input > "${padded}/inputs/input" + curl -s \ + -A "https://git.yetaga.in/alazyreader/AdventOfCode2022/" \ + -H "Cookie: session=`cat .cookie`" https://adventofcode.com/${__year}/day/${1##0}/input > "${padded}/inputs/input" fi if [ ! -f "${padded}/main.rs" ]; then cp -n main.rs.tmpl ${padded}/main.rs