summaryrefslogtreecommitdiff
path: root/searx/engines/kickass.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/kickass.py
parent28f12ef5a0917b8cefddb4d5f74c9aaeb945355f (diff)
downloadsearxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.tar.gz
searxng-16bdc0baf4f2b56af000337c4a2fa1e689f1220c.zip
[mod] do not escape html content in engines
Diffstat (limited to 'searx/engines/kickass.py')
-rw-r--r--searx/engines/kickass.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py
index 9cd8284da..059fa2a66 100644
--- a/searx/engines/kickass.py
+++ b/searx/engines/kickass.py
@@ -11,7 +11,6 @@
"""
from urlparse import urljoin
-from cgi import escape
from urllib import quote
from lxml import html
from operator import itemgetter
@@ -57,7 +56,7 @@ def response(resp):
link = result.xpath('.//a[@class="cellMainLink"]')[0]
href = urljoin(url, link.attrib['href'])
title = extract_text(link)
- content = escape(extract_text(result.xpath(content_xpath)))
+ content = extract_text(result.xpath(content_xpath))
seed = extract_text(result.xpath('.//td[contains(@class, "green")]'))
leech = extract_text(result.xpath('.//td[contains(@class, "red")]'))
filesize_info = extract_text(result.xpath('.//td[contains(@class, "nobr")]'))