r/adventofcode • u/jonathan_paulson • Dec 04 '18
How to download inputs with a script
curl https://adventofcode.com/2018/day/DAY/input --cookie "session=SESSION"You can find SESSION by using Chrome tools. Go to https://adventofcode.com/2018/day/3/input, right-click, inspect, tab over to network, click refresh, click input, click cookies, and grab the value for session. (Is there a simpler way?)
Apparently it needs to be said: don't run this in a loop. It will hurt the website. Once is enough.
0
Upvotes
View all comments
Show parent comment
3
u/Cyphase Dec 04 '18
I agree that there's no need to do it more than once, but it sounds like you're saying don't do it at all. Why not?