You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puzzle inputs differ by user. For this reason, you can't get your data with an unauthenticated request. Here's how to get your session cookie for aocd to use:
Login on AoC with github or whatever
Open browser's developer console (e.g. right click --> Inspect) and navigate to the Network tab
It's a long hex string. Export that to an environment variable AOC_SESSION. Or, if you prefer more persistence, you can write it to a plain text file at ~/.config/aocd/token.
The text was updated successfully, but these errors were encountered:
Teach the template script to download the day's input data if the
environment variable AOC_SESSION is set to the AOC site's cookie's
session value.
Example usage:
$ AOC_SESSION=<secret> ./scripts/new-day.sh
To get your session value, check your browsers cookies for the AOC
domain, or follow the tutorial at [1].
[1] wimglenn/advent-of-code-wim#1
Signed-off-by: Mårten Kongstad <marten.kongstad@gmail.com>
Puzzle inputs differ by user. For this reason, you can't get your data with an unauthenticated request. Here's how to get your session cookie for
aocd
to use:It's a long hex string. Export that to an environment variable
AOC_SESSION
. Or, if you prefer more persistence, you can write it to a plain text file at~/.config/aocd/token
.The text was updated successfully, but these errors were encountered: