Added input download instructions to README

master
Tibor Bizjak 2023-03-14 18:20:07 +01:00
parent 01d64b9061
commit 2e06c4fd27
1 changed files with 11 additions and 5 deletions

View File

@ -6,15 +6,21 @@ To solve all puzzles with implemented solutions run
```console ```console
$ python3 main.py $ python3 main.py
``` ```
or alternatively make the main program executable. For faster execution use `pypy3`
```console
$ pypy3 main.py
```
or make the main program executable.
```console ```console
$ chmod +x main.py $ chmod +x main.py
$ ./main.py $ ./main.py
``` ```
For faster execution use `pypy3`. To download your puzzle inputs (the inputs are different for each user),
```console run `./main.py --fetch-session` and input your session key.
$ pypy3 main.py The session key can be found by inspecting the headers of a HTTP request
``` made from a browser on which the user is logged in. The HTTP request header
in question has the following format : `Cookie : session-key`.
For other options see `./main.py -h`. For other options see `./main.py -h`.
```console ```console
$ ./main.py -h $ ./main.py -h