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