mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 02:40:11 +01:00
fix pep8
This commit is contained in:
parent
e7baf24ec1
commit
a7c8d5882c
@ -31,6 +31,7 @@ time_range_dict = {'day': 'd',
|
|||||||
'week': 'w',
|
'week': 'w',
|
||||||
'month': 'm'}
|
'month': 'm'}
|
||||||
|
|
||||||
|
|
||||||
# do search-request
|
# do search-request
|
||||||
def request(query, params):
|
def request(query, params):
|
||||||
offset = (params['pageno'] - 1) * 100
|
offset = (params['pageno'] - 1) * 100
|
||||||
|
@ -38,6 +38,7 @@ time_range_dict = {'day': ['1d', 'd'],
|
|||||||
'week': ['1w', 'w'],
|
'week': ['1w', 'w'],
|
||||||
'month': ['1m', 'm']}
|
'month': ['1m', 'm']}
|
||||||
|
|
||||||
|
|
||||||
# remove yahoo-specific tracking-url
|
# remove yahoo-specific tracking-url
|
||||||
def parse_url(url_string):
|
def parse_url(url_string):
|
||||||
endings = ['/RS', '/RK']
|
endings = ['/RS', '/RK']
|
||||||
|
Loading…
Reference in New Issue
Block a user