diff options
author | Adam Tauber <asciimoo@gmail.com> | 2014-11-11 09:36:39 +0100 |
---|---|---|
committer | Adam Tauber <asciimoo@gmail.com> | 2014-11-11 09:36:39 +0100 |
commit | 0d80d5d3b45f9c761a7fd6c457538b54f6d25fce (patch) | |
tree | a669f19b5f3a6886ae8c9930e97aa97af3e00778 /searx/engines/youtube.py | |
parent | b422788eb46906d9befbd8b7399bf4653e1fb14e (diff) | |
parent | 25312c53e170deb55bd48029e3b76b87692e1911 (diff) | |
download | searxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.tar.gz searxng-0d80d5d3b45f9c761a7fd6c457538b54f6d25fce.zip |
Merge pull request #105 from pointhi/template_oscar
new template: oscar
Diffstat (limited to 'searx/engines/youtube.py')
-rw-r--r-- | searx/engines/youtube.py | 6 |
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, |