Invidious is an alternative front-end to YouTube
Skip validation checks for videoplayback, ggpht
Omar Rotha117d87f3316
diff --git a/src/invidious/helpers/utils.cr b/src/invidious/helpers/utils.crindex e43ae71d..7c5edc5c 100644--- a/src/invidious/helpers/utils.cr+++ b/src/invidious/helpers/utils.cr@@ -77,7 +77,8 @@ def elapsed_text(elapsed)enddef make_client(url : URI, region = nil)- client = HTTPClient.new(url)+ # TODO: Migrate any applicable endpoints to QUIC+ client = HTTPClient.new(url, OpenSSL::SSL::Context::Client.insecure)client.family = (url.host == "www.youtube.com") ? CONFIG.force_resolve : Socket::Family::UNSPECclient.read_timeout = 10.secondsclient.connect_timeout = 10.seconds