Remove personalized inputs and not working get_data.py

This commit is contained in:
2025-10-13 13:13:47 +03:00
parent 4f0beeffe9
commit d4ab93d642
-17
View File
@@ -27,21 +27,4 @@ You can specify days to run if you want, for example this will run days 2, 4, an
mix aoc2024.run 2 4 6
```
## Getting the data
I've also included a little `get_data.py` utility to automatically download the data of the day, at the right time (you'll get a countdown if you're early). I was too lazy to code it in Elixir, but perhaps I'll port it one day. To use it, just type the following command in a terminal, replacing `{day}` with the day you want:
```
cd /path/to/this/repository
python get_data.py 2024 {day}
```
The script requires the `requests` and `pytz` libraries, which you can install like this:
```
python -m pip install --user requests pytz
```
The first time you run `get_data.py`, you will be asked to login to AoC in your browser, [find your session cookie](https://github.com/wimglenn/advent-of-code-wim/issues/1), and save it into a `.session` file in the current directory.
Have fun!