External Proxies: Proxyfi HD720

This commit is contained in:
Fijxu
2024-10-13 15:19:49 -03:00
parent fee2acc666
commit 976e1ccf5a
3 changed files with 15 additions and 2 deletions

View File

@@ -21,6 +21,10 @@ module Invidious::HttpServer
end
end
def get_external_proxy
return @@proxy_alive
end
def proxy_video_url(raw_url : String, *, region : String? = nil, absolute : Bool = false)
url = URI.parse(raw_url)