revert img proxy for video
This commit is contained in:
parent
3f73dcc523
commit
238bad7dca
1 changed files with 1 additions and 1 deletions
2
video.go
Executable file → Normal file
2
video.go
Executable file → Normal file
|
@ -206,7 +206,7 @@ func fetchVideoResults(query, safe, lang string, page int) []VideoResult {
|
||||||
Views: formatViews(item.Views),
|
Views: formatViews(item.Views),
|
||||||
Creator: item.UploaderName,
|
Creator: item.UploaderName,
|
||||||
Publisher: "Piped",
|
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),
|
Duration: formatDuration(item.Duration),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue