summaryrefslogtreecommitdiff
path: root/searx/engines/yandex.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-18 12:47:31 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-18 12:47:31 +0100
commitbd22e9a3363090a5e4f851670b0650349a528749 (patch)
treeea0b4b80430ffebc7e9eaa2c28188884a7c67218 /searx/engines/yandex.py
parent6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff)
downloadsearxng-bd22e9a3363090a5e4f851670b0650349a528749.tar.gz
searxng-bd22e9a3363090a5e4f851670b0650349a528749.zip
[fix] pep8 compatibilty
Diffstat (limited to 'searx/engines/yandex.py')
-rw-r--r--searx/engines/yandex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/yandex.py b/searx/engines/yandex.py
index edc6ad5f2..938fdd184 100644
--- a/searx/engines/yandex.py
+++ b/searx/engines/yandex.py
@@ -38,7 +38,7 @@ content_xpath = './/div[@class="serp-item__text"]//text()'
def request(query, params):
lang = params['language'].split('_')[0]
host = base_url.format(tld=language_map.get(lang) or default_tld)
- params['url'] = host + search_url.format(page=params['pageno']-1,
+ params['url'] = host + search_url.format(page=params['pageno'] - 1,
query=urlencode({'text': query}))
return params