summaryrefslogtreecommitdiff
path: root/searx/engines/seznam.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/seznam.py')
-rw-r--r--searx/engines/seznam.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/searx/engines/seznam.py b/searx/engines/seznam.py
index 85cb25b7f..2e95b4769 100644
--- a/searx/engines/seznam.py
+++ b/searx/engines/seznam.py
@@ -58,10 +58,12 @@ def response(resp):
if result_data is None:
continue
title_element = eval_xpath_getindex(result_element, './/h3/a', 0)
- results.append({
- 'url': title_element.get('href'),
- 'title': extract_text(title_element),
- 'content': extract_text(eval_xpath(result_data, './/div[@class="_3eded7"]')),
- })
+ results.append(
+ {
+ 'url': title_element.get('href'),
+ 'title': extract_text(title_element),
+ 'content': extract_text(eval_xpath(result_data, './/div[@class="_3eded7"]')),
+ }
+ )
return results