Add image search links

This commit is contained in:
Victor 2020-10-29 17:25:39 +02:00
parent ad89c03045
commit c781a4edac

View File

@ -52,15 +52,17 @@ def getCaption(post) {
}
return sprintf(
"<a href=\"%s\">%s</a>\n" +
"<a href=\"https://reddit.com%s\">🗨 Comments</a>%s",
safe(post.url),
safe(post.title),
safe(post.permalink),
tag
"<a href=\"https://reddit.com%s\">🗨 Comments</a>%s\n" +
"🔎 <a href=\"https://saucenao.com/search.php?url=%s\">SauceNAO</a>, " +
"<a href=\"https://yandex.ua/images/search?rpt=imageview&url=%s\">Yandex</a>",
safe(post.url), safe(post.title),
safe(post.permalink), tag,
urlencode(post.url),
urlencode(post.url)
)
}
sleep(10)
sleep(4000)
use "java"
System = newClass("java.lang.System")
System.exit(0)