Skip to content

Use private read-only link for getting info from leaderboards #170

@janine9vn

Description

@janine9vn

Current we rely on the "old" way of interfacing with the Advent of Code website to get information from our various community leaderboards to compile into our overall singular community leaderboard. This involves getting the advent of code cookie for my account, which expires ~5-6 weeks after it gets created. We need to get a second account's cookies that's authenticated later in the year to ensure our features work smoothly after the first set of cookies expire.

This is a pain and very sensitive to a bus factor of 1-2.

Advent of Code, along with several other changes this year, has provided the ability to generate a read-only link to each leaderboard. From what I understand this doesn't expire? We'll find out if it does. Either way, I would like to gather our leaderboard information from this special link instead of the current method.

Considerations

  • We should still read in these special links from an .env-type thing
  • I'm fine if we keep the cookies as a fallback option or straigpht u remove it, implementer's choice

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions