diff --git a/searx/engines/derpibooru.py b/searx/engines/derpibooru.py index 8e231b0ee..6a80f1dfc 100644 --- a/searx/engines/derpibooru.py +++ b/searx/engines/derpibooru.py @@ -37,8 +37,14 @@ def clean_url(url): def request(query, params): params['url'] = search_url + urlencode( - {'q': query, 'filter_id': filter_id, 'page': params['pageno'], 'per_page': page_size, 'sf': sort_field, - 'sd': sort_direction} + { + 'q': query, + 'filter_id': filter_id, + 'page': params['pageno'], + 'per_page': page_size, + 'sf': sort_field, + 'sd': sort_direction, + } ) logger.debug("query_url --> %s", params['url']) return params