Minor fixes to readme and user agent.
This commit is contained in:
parent
8cdfdda1f4
commit
26661cbfd8
@ -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.
|
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.
|
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]:
|
[^aoc]:
|
||||||
[Advent of Code][aoc] – An annual event of Christmas-oriented programming challenges started December 2015.
|
[Advent of Code][aoc] – An annual event of Christmas-oriented programming challenges started December 2015.
|
||||||
|
@ -156,7 +156,7 @@ class Downloader(val year: Int, val packageName: String, val sessionCookie: Stri
|
|||||||
url = "https://adventofcode.com/$year/day/$day$suffix",
|
url = "https://adventofcode.com/$year/day/$day$suffix",
|
||||||
method = "GET",
|
method = "GET",
|
||||||
headers = mapOf(
|
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"
|
"Cookie" to "session=$sessionCookie"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user