diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/get-input | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-input b/bin/get-input index 2d4a424..e510e12 100755 --- a/bin/get-input +++ b/bin/get-input @@ -5,4 +5,4 @@ day=${1:-$(date +%-d)} year=${2:-$(date +%Y)} mkdir -p data/"$year" -curl -b "$(cat .cookie)" -s https://adventofcode.com/"$year"/day/"$day"/input >data/"$year"/"$day".txt +curl -H 'User-Agent: https://github.com/doy/advent-of-code by adventofcode@tozt.net' -b "$(cat .cookie)" -s https://adventofcode.com/"$year"/day/"$day"/input >data/"$year"/"$day".txt |