SearXNG is a free internet metasearch engine which aggregates results from various search services and databases. Users are neither tracked nor profiled.
Python bingbravedegoogleduckduckgogooglemetasearchprivacypythonqwantsearchsearch-enginesearxsearxngstartpageyahoo
[enh] paging support for deviantart
asciimoo1fd91bd911ef
diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.pyindex 94a94bf16..602678e41 100644--- a/searx/engines/deviantart.py+++ b/searx/engines/deviantart.py@@ -5,12 +5,15 @@ from urlparse import urljoincategories = ['images']base_url = 'https://www.deviantart.com/'-search_url = base_url+'search?'+search_url = base_url+'search?offset={offset}&{query}'++paging = Truedef request(query, params):- global search_url- params['url'] = search_url + urlencode({'q': query})+ offset = (params['pageno'] - 1) * 24+ params['url'] = search_url.format(offset=offset,+ query=urlencode({'q': query}))return params