From 3b4b9ee83a04d9efe8215429bbd864d93ce136a8 Mon Sep 17 00:00:00 2001 From: partisan Date: Tue, 20 Aug 2024 18:40:04 +0200 Subject: [PATCH] revert img proxy for video --- video.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 video.go diff --git a/video.go b/video.go old mode 100755 new mode 100644 index 1633853..ccda543 --- a/video.go +++ b/video.go @@ -206,7 +206,7 @@ func fetchVideoResults(query, safe, lang string, page int) []VideoResult { Views: formatViews(item.Views), Creator: item.UploaderName, Publisher: "Piped", - Image: fmt.Sprintf("/img_proxy?url=%s", url.QueryEscape(item.Thumbnail)), + Image: item.Thumbnail, //fmt.Sprintf("/img_proxy?url=%s", url.QueryEscape(item.Thumbnail)), // Using image proxy is not working, but its not needed here as piped is proxy anyway Duration: formatDuration(item.Duration), }) }