Repository containing https://adventofcode.com solutions.
Disclaimer: The solutions are a mix of leaderboard attempts at midnight, or more casual programming with my first cup of coffee in the morning. So please look away at any hacks, duplicate code, or what have you within each day.
- Outbound calls to the webpage are throttled to every
10
seconds forrequests.get()
and60
seconds forrequests.post()
intools.web.RequestLimiter
- HTML requests to the main puzzle are cached locally within
{year}/.cache
- Inputs and examples are cached within
{year}/inputs/{day}/
- HTML requests to the main puzzle are cached locally within
- The
User-Agent
header in all requests is set to me, since I maintain this repo :)