mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 09:46:31 +00:00
fix pep8
This commit is contained in:
parent
e7baf24ec1
commit
a7c8d5882c
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in a new issue