A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/wimglenn/advent-of-code/issues/1 below:

How to get the session cookie · Issue #1 · wimglenn/advent-of-code-wim · GitHub

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:

  1. Login on AoC with github or whatever
  2. Open browser's developer console (e.g. right click --> Inspect) and navigate to the Network tab
  3. GET any input page, say adventofcode.com/2016/day/1/input, and look in the request headers.

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.

whoamitty, laurio, ExposedCat, vdawg-git, JujuDel and 2 moreOgaday and ImperialSquid


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4