From 0675314fe651260c1332c181dfb8e101f39d322d Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Mon, 2 Jan 2023 18:31:16 +0100 Subject: [PATCH] Apply `astyle` formatting to `main.cpp` --- main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/main.cpp b/main.cpp index 5982e21..ef12b7f 100644 --- a/main.cpp +++ b/main.cpp @@ -26,7 +26,7 @@ bool doesFileExist(string filePath), ostringstream toPrint; set channelsAlreadyTreated, - channelsToTreat; + channelsToTreat; unsigned int commentsCount = 0; int main() @@ -186,11 +186,11 @@ vector getFileContent(string filePath) json getJson(string url) { - #ifdef USE_YT_LEMNOSLIFE_COM_NO_KEY_SERVICE - url = "https://yt.lemnoslife.com/noKey/" + url; - #else - url = "https://www.googleapis.com/youtube/v3/" + url + "&key=" + API_KEY; - #endif +#ifdef USE_YT_LEMNOSLIFE_COM_NO_KEY_SERVICE + url = "https://yt.lemnoslife.com/noKey/" + url; +#else + url = "https://www.googleapis.com/youtube/v3/" + url + "&key=" + API_KEY; +#endif string content = getHttps(url); json data = json::parse(content); return data;