summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoemi Vanyi <sitbackandwait@gmail.com>2016-07-19 10:14:11 +0200
committerNoemi Vanyi <sitbackandwait@gmail.com>2016-07-25 23:28:14 +0200
commita7c8d5882c137634b754e9757340de85029012e6 (patch)
tree24e9e0a2186d5b9b86ee70b73afde32a3a37cca4 /searx
parente7baf24ec16366da000dc37b7e9e4377138ee0a2 (diff)
downloadsearxng-a7c8d5882c137634b754e9757340de85029012e6.tar.gz
searxng-a7c8d5882c137634b754e9757340de85029012e6.zip
fix pep8
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/google_images.py1
-rw-r--r--searx/engines/yahoo.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/google_images.py b/searx/engines/google_images.py
index eab0fba08..b687317c8 100644
--- a/searx/engines/google_images.py
+++ b/searx/engines/google_images.py
@@ -31,6 +31,7 @@ time_range_dict = {'day': 'd',
'week': 'w',
'month': 'm'}
+
# do search-request
def request(query, params):
offset = (params['pageno'] - 1) * 100
diff --git a/searx/engines/yahoo.py b/searx/engines/yahoo.py
index 2334614cb..82f782b9d 100644
--- a/searx/engines/yahoo.py
+++ b/searx/engines/yahoo.py
@@ -38,6 +38,7 @@ time_range_dict = {'day': ['1d', 'd'],
'week': ['1w', 'w'],
'month': ['1m', 'm']}
+
# remove yahoo-specific tracking-url
def parse_url(url_string):
endings = ['/RS', '/RK']