From c3c9d147cebba75a6f7116cdaa85a0e3f432a264 Mon Sep 17 00:00:00 2001 From: asciimoo Date: Sat, 2 Nov 2013 18:18:45 +0100 Subject: [PATCH] [enh] clickable youtube thumbnail --- searx/engines/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/youtube.py b/searx/engines/youtube.py index 265f86af8..1331f480e 100644 --- a/searx/engines/youtube.py +++ b/searx/engines/youtube.py @@ -27,7 +27,7 @@ def response(resp): title = result['title']['$t'] content = '' if len(result['media$group']['media$thumbnail']): - content += '' % (result['media$group']['media$thumbnail'][0]['url']) + content += ''.format(url, result['media$group']['media$thumbnail'][0]['url']) if len(content): content += '
' + result['content']['$t'] else: