diff --git a/README.md b/README.md index eb433ab..0f40a57 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# advent-of-code-2023 +# Advent of Code Welcome to the Advent of Code[^aoc] Kotlin project created by [chrisly42][gitea] using the [Advent of Code Kotlin Template][template] delivered by JetBrains. @@ -6,7 +6,7 @@ In this repository, chrisly42 is about to provide solutions for the puzzles usin This repo also contains a puzzle input downloader and generates coding templates for each day. -As it is my first time I'm taking part in the AoC, I've started doing some last year's puzzles as a warmup and to test the template. +As 2023 was my first time taking part in the AoC, I've started doing some earlier year's puzzles as a warmup and to test the template. [^aoc]: [Advent of Code][aoc] – An annual event of Christmas-oriented programming challenges started December 2015. diff --git a/src/downloader/Downloader.kt b/src/downloader/Downloader.kt index ad67cfc..6af064a 100644 --- a/src/downloader/Downloader.kt +++ b/src/downloader/Downloader.kt @@ -156,7 +156,7 @@ class Downloader(val year: Int, val packageName: String, val sessionCookie: Stri url = "https://adventofcode.com/$year/day/$day$suffix", method = "GET", headers = mapOf( - "User-Agent" to "git.platon42.de/chrisly42/advent-of-code-2023", + "User-Agent" to "git.platon42.de/chrisly42/advent-of-code", "Cookie" to "session=$sessionCookie" ) )