diff options
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 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, |