on master help sign in
fix pep8
commita7c8d5882c137634b754e9757340de85029012e6 authorNoemi Vanyi <sitbackandwait@gmail.com> dateTue 19 Jul 2016, 10:14 (10 years ago) parente7baf24
2 files changed+2
searx/engines/google_images.py+1 searx/engines/yahoo.py+1
searx/engines/google_images.py+1
@@ -31,6 +31,7 @@ time_range_dict = {'day': 'd',
3131 'week': 'w',
3232 'month': 'm'}
3333
34+
3435# do search-request
3536def request(query, params):
3637 offset = (params['pageno'] - 1) * 100
searx/engines/yahoo.py+1
@@ -38,6 +38,7 @@ time_range_dict = {'day': ['1d', 'd'],
3838 'week': ['1w', 'w'],
3939 'month': ['1m', 'm']}
4040
41+
4142# remove yahoo-specific tracking-url
4243def parse_url(url_string):
4344 endings = ['/RS', '/RK']