summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-27 12:33:22 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:46 +0200
commitf3b565e17ecd4c875381a3a212d73fb065f9a89d (patch)
tree1d9fe5384e3103a910286f69f17f5fa0bd24102f /searx/engines
parent915857105997357f24db86b9fcc6739fd816e98e (diff)
oscar template: implement first version of results page
* implement results page * improve search form template * implement all result_templates * fix youtube engine
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/youtube.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/searx/engines/youtube.py b/searx/engines/youtube.py
index a3c3980af..e217fb079 100644
--- a/searx/engines/youtube.py
+++ b/searx/engines/youtube.py
@@ -69,12 +69,8 @@ def response(resp):
if result['media$group']['media$thumbnail']:
thumbnail = result['media$group']['media$thumbnail'][0]['url']
- content += '<a href="{0}" title="{0}" ><img src="{1}" /></a>'.format(url, thumbnail) # noqa
- if content:
- content += '<br />' + result['content']['$t']
- else:
- content = result['content']['$t']
+ content = result['content']['$t']
# append result
results.append({'url': url,