on master help sign in
fix pep8
a7c8d58Noemi Vanyi
searx/engines/google_images.py+1
@@ -31,6 +31,7 @@ time_range_dict = {'day': 'd',
31 'week': 'w',
31 'week': 'w',
32 'month': 'm'}
32 'month': 'm'}
33
33
34+
34# do search-request
35# do search-request
35def request(query, params):
36def request(query, params):
36 offset = (params['pageno'] - 1) * 100
37 offset = (params['pageno'] - 1) * 100
searx/engines/yahoo.py+1
@@ -38,6 +38,7 @@ time_range_dict = {'day': ['1d', 'd'],
38 'week': ['1w', 'w'],
38 'week': ['1w', 'w'],
39 'month': ['1m', 'm']}
39 'month': ['1m', 'm']}
40
40
41+
41# remove yahoo-specific tracking-url
42# remove yahoo-specific tracking-url
42def parse_url(url_string):
43def parse_url(url_string):
43 endings = ['/RS', '/RK']
44 endings = ['/RS', '/RK']