summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2014-11-11 09:36:39 +0100
committerAdam Tauber <asciimoo@gmail.com>2014-11-11 09:36:39 +0100
commit0d80d5d3b45f9c761a7fd6c457538b54f6d25fce (patch)
treea669f19b5f3a6886ae8c9930e97aa97af3e00778 /searx/engines
parentb422788eb46906d9befbd8b7399bf4653e1fb14e (diff)
parent25312c53e170deb55bd48029e3b76b87692e1911 (diff)
downloadsearxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.tar.gz
searxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.zip
Merge pull request #105 from pointhi/template_oscar
new template: oscar
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 794028845..7d1c207f0 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,