Apply astyle formatting to main.cpp

This commit is contained in:
Benjamin Loison 2023-01-02 18:31:16 +01:00
parent 938ae4b0fb
commit 73a9dea023
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8

View File

@ -26,7 +26,7 @@ bool doesFileExist(string filePath),
ostringstream toPrint;
set<string> channelsAlreadyTreated,
channelsToTreat;
channelsToTreat;
unsigned int commentsCount = 0;
int main()
@ -186,11 +186,11 @@ vector<string> 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;