From 5692712b4e2cde66d0eb33b0d9cfd74686e37b13 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Wed, 3 Mar 2021 21:37:39 +0100 Subject: [PATCH] Removed unnecessary endl --- Tubio/DownloadManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tubio/DownloadManager.cpp b/Tubio/DownloadManager.cpp index 9853dc2..8409445 100644 --- a/Tubio/DownloadManager.cpp +++ b/Tubio/DownloadManager.cpp @@ -571,7 +571,7 @@ std::vector DownloadManager::ParseJsonArrayToEntries(const JasonP void DownloadManager::FetchInformation(std::string url, std::string tubId) { std::stringstream ss; - ss << "youtube-dl.exe --skip-download --no-warnings --no-call-home --no-playlist --socket-timeout 5 --dump-json \"" << url << "\" > \"" << XGConfig::downloader.cachedir << "/metadata/" << tubId << ".json" << "\"" << std::endl; + ss << "youtube-dl --skip-download --no-warnings --no-call-home --no-playlist --socket-timeout 5 --dump-json \"" << url << "\" > \"" << XGConfig::downloader.cachedir << "/metadata/" << tubId << ".json" << "\""; system(ss.str().c_str()); return; }