@@ -16,6 +16,8 @@ from json import loads
1616from urllib import urlencode
1717from dateutil import parser
1818
19+from searx.utils import html_to_text
20+
1921# engine dependent config
2022categories = ['general', 'images'] # TODO , 'music', 'videos', 'files'
2123paging = True
@@ -88,7 +90,7 @@ def response(resp):
8890 # append result
8991 results.append({'url': result['link'],
9092 'title': result['title'],
91− 'content': result['description'],
93+ 'content': html_to_text(result['description']),
9294 'publishedDate': publishedDate})
9395
9496 # TODO parse video, audio and file results