From 1ebc4cbc6ee3857a64a0658201cd55d65b6a6b15 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 29 Jun 2021 16:42:13 +0200 Subject: Bypass cloudflare for coom plugins (fixes spank****) --- src/plugins/Youtube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/Youtube.cpp') diff --git a/src/plugins/Youtube.cpp b/src/plugins/Youtube.cpp index 276fba5..24fd448 100644 --- a/src/plugins/Youtube.cpp +++ b/src/plugins/Youtube.cpp @@ -274,7 +274,7 @@ R"END( for(int i = 0; i < max_redirects; ++i) { std::string response_body; std::string response_headers; - download_to_string(playback_url, response_body, additional_args, true, true, &response_headers, 4096); + download_to_string(playback_url, response_body, additional_args, true, true, false, &response_headers, 4096); std::string content_type = header_extract_value(response_headers, "content-type"); if(content_type.empty()) { -- cgit v1.2.3