This repo makes use of the advent-of-code-data library for fetching the input data.
https://github.com/wimglenn/advent-of-code-data
To get it working you will want to log into https://adventofcode.com/ and inspect the network requests to get your session from the cookie. Then create an env var names AOC_SESSION and set the value to the session token in your cookie.
If you are interested in joining my leaderboard, you can use this code: 267508-8cea2646