summaryrefslogtreecommitdiff
path: root/searx/engines/deezer.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-12-09 11:44:24 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-12-09 18:59:19 +0100
commit16bdc0baf4f2b56af000337c4a2fa1e689f1220c (patch)
treeab232c3505aa194e8ee30ae7861cc90f6c913023 /searx/engines/deezer.py
parent28f12ef5a0917b8cefddb4d5f74c9aaeb945355f (diff)
downloadsearxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.tar.gz
searxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.zip
[mod] do not escape html content in engines
Diffstat (limited to 'searx/engines/deezer.py')
-rw-r--r--searx/engines/deezer.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/searx/engines/deezer.py b/searx/engines/deezer.py
index 0530bc072..8e87bbeec 100644
--- a/searx/engines/deezer.py
+++ b/searx/engines/deezer.py
@@ -51,10 +51,11 @@ def response(resp):
if url.startswith('http://'):
url = 'https' + url[4:]
- content = result['artist']['name'] +\
- " &bull; " +\
- result['album']['title'] +\
- " &bull; " + result['title']
+ content = '{} - {} - {}'.format(
+ result['artist']['name'],
+ result['album']['title'],
+ result['title'])
+
embedded = embedded_url.format(audioid=result['id'])
# append result