revert img proxy for video

This commit is contained in:
partisan 2024-08-20 18:40:04 +02:00
parent 779aa87636
commit 3b4b9ee83a

2
video.go Executable file → Normal file
View file

@ -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),
})
}