summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--searx/templates/result_templates/videos.html4
-rw-r--r--searx/webapp.py2
2 files changed, 2 insertions, 4 deletions
diff --git a/searx/templates/result_templates/videos.html b/searx/templates/result_templates/videos.html
index 524c99116..ae6d8f16c 100644
--- a/searx/templates/result_templates/videos.html
+++ b/searx/templates/result_templates/videos.html
@@ -1,12 +1,10 @@
<div class="result">
-
{% if result['favicon'] %}
<div style="float:left; margin:2px;">
- <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.png" alt="{{result['favicon']}}.png" title="{{result['favicon']}}.png" />
+ <img width="18" height="18" src="static/img/icon_{{result['favicon']}}.ico" alt="{{result['favicon']}}.ico" title="{{result['favicon']}}.ico" />
</div>
{% endif %}
-
<p>
<h3 class="result_title"><a href="{{ result.url }}">{{ result.title|safe }}</a></h3>
<a href="{{ result.url }}"><img width="300" height="170" src="{{ result.thumbnail }}" title={{ result.title }} alt=" {{ result.title }}"/></a>
diff --git a/searx/webapp.py b/searx/webapp.py
index b26e868f5..43bef7db9 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -141,7 +141,7 @@ def index():
result['pretty_url'] = result['url']
for engine in result['engines']:
- if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter']:
+ if engine in ['wikipedia', 'youtube', 'vimeo', 'soundcloud', 'twitter', 'stackoverflow']:
result['favicon'] = engine
if engine in ['wikipedia', 'ddg definitions']:
featured_results.append(result)