Benjamin Kraft 9 months ago
parent ad113d426f
commit 676006891d
  1. 2
      src/main.cpp

@ -12,7 +12,7 @@ Input getInput(int day, string key, bool useTestInput, int testFetchIndex) {
if (!std::filesystem::exists({localFilePath})) {
string dayStr = std::to_string(day);
string url = "https://adventofcode.com/2022/day/" + dayStr;
string url = "https://adventofcode.com/2023/day/" + dayStr;
auto cookies = cpr::Cookies{{"session", key}};
if (!useTestInput){
if (key.empty()){

Loading…
Cancel
Save