From b7fdac0c1b33af3c06b9fa2d3180f18523eb2ab9 Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Sun, 22 Nov 2020 12:22:43 +0530 Subject: [PATCH] Add support for LBRY's streams. --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 25a524d..56d2f5e 100644 --- a/main.go +++ b/main.go @@ -137,6 +137,7 @@ func main() { http.HandleFunc("/ytc/", genericHTTPProxy) http.HandleFunc("/ggpht/", genericHTTPProxy) http.HandleFunc("/sb/", genericHTTPProxy) + http.HandleFunc("/api/v3/streams/", genericHTTPProxy) socket := "socket" + string(os.PathSeparator) + "http-proxy.sock" syscall.Unlink(socket) listener, err := net.Listen("unix", socket)