summaryrefslogtreecommitdiff
path: root/searx/webapp.py
diff options
context:
space:
mode:
authorCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-18 16:26:32 +0100
committerCqoicebordel <Cqoicebordel@users.noreply.github.com>2014-12-18 16:26:32 +0100
commit83d6f366596829f2140f84c73b684bd7f783e93c (patch)
tree6172318ef3e9bdbb361551a4c64969e73b230265 /searx/webapp.py
parente71b665fd5d62ddc52fda3eca141547bb3540522 (diff)
downloadsearxng-83d6f366596829f2140f84c73b684bd7f783e93c.tar.gz
searxng-83d6f366596829f2140f84c73b684bd7f783e93c.zip
Final commit on favicons
Definitely remove engine array Change every themes to accomodate that change Tweak of video template of oscar to add link on video thumbnail
Diffstat (limited to 'searx/webapp.py')
-rw-r--r--searx/webapp.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 6387a92f4..ca58d8ea3 100644
--- a/searx/webapp.py
+++ b/searx/webapp.py
@@ -68,10 +68,6 @@ app.secret_key = settings['server']['secret_key']
babel = Babel(app)
-#TODO configurable via settings.yml
-favicons = ['wikipedia', 'youtube', 'vimeo', 'dailymotion', 'soundcloud',
- 'twitter', 'stackoverflow', 'github', 'deviantart']
-
global_favicons = []
for indice,theme in enumerate(themes):
global_favicons.append([])
@@ -294,10 +290,6 @@ def index():
result['pretty_url'] = u'{0}[...]{1}'.format(*url_parts)
else:
result['pretty_url'] = result['url']
-
- for engine in result['engines']:
- if engine in favicons:
- result['favicon'] = engine
# TODO, check if timezone is calculated right
if 'publishedDate' in result: