Fixed the image search links
This commit is contained in:
@ -48,13 +48,15 @@ func filterAnimeImages(ctx *aero.Context, title string, minExpectedWidth int, mi
|
||||
title,
|
||||
lowResAnime,
|
||||
count,
|
||||
"/editor/anime/missing/hiresimage",
|
||||
func(anime *arn.Anime) string {
|
||||
return "https://www.google.com/search?q=" + anime.Title.Canonical + "&tbm=isch"
|
||||
},
|
||||
ctx.URI(),
|
||||
googleImageSearch,
|
||||
))
|
||||
}
|
||||
|
||||
func googleImageSearch(anime *arn.Anime) string {
|
||||
return "https://www.google.com/search?q=" + anime.Title.Canonical + "&tbm=isch&tbs=imgo:1,isz:lt,islt:qsvga"
|
||||
}
|
||||
|
||||
// // LowResolutionAnimeImages ...
|
||||
// func LowResolutionAnimeImages(ctx *aero.Context) string {
|
||||
// basePath := path.Join(arn.Root, "images/anime/original/")
|
||||
|
Reference in New Issue
Block a user