summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-02-08 22:01:24 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-02-08 22:01:24 +0100
commit832ea60e3d19add2ffa857bc420ff33af83aac5c (patch)
treee0faf5b4a51d7e055fc11a29a12f3328f35f4f51 /searx/engines
parente7de9674b14c2ff06fac009274742819d6468138 (diff)
downloadsearxng-832ea60e3d19add2ffa857bc420ff33af83aac5c.tar.gz
searxng-832ea60e3d19add2ffa857bc420ff33af83aac5c.zip
[fix] pep8, tests
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/bing_images.py1
-rw-r--r--searx/engines/blekko_images.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index 4798d9f30..b8c61c151 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -33,6 +33,7 @@ safesearch_types = {2: 'STRICT',
1: 'DEMOTE',
0: 'OFF'}
+
# do search-request
def request(query, params):
offset = (params['pageno'] - 1) * 10 + 1
diff --git a/searx/engines/blekko_images.py b/searx/engines/blekko_images.py
index 4fbb9b30f..2e7ec904f 100644
--- a/searx/engines/blekko_images.py
+++ b/searx/engines/blekko_images.py
@@ -25,6 +25,7 @@ safesearch_types = {2: '1',
1: '',
0: '0'}
+
# do search-request
def request(query, params):
c = (params['pageno'] - 1) * 48