commit: a320328dda1ae2362a4eeb98e4e46f8ce38d33d3
parent 0549fb40d2ab0b14354e680880b0de3d9d770452
Author: jcherqui <joachim.cherqui@viacesi.fr>
Date: Sun, 15 Jan 2017 14:50:29 +0100
Fix test
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/searx/engines/1337x.py b/searx/engines/1337x.py
@@ -8,11 +8,13 @@ search_url = url + 'search/{search_term}/{pageno}/'
categories = ['videos', 'music', 'files']
paging = True
+
def request(query, params):
params['url'] = search_url.format(search_term=quote(query), pageno=params['pageno'])
return params
+
def response(resp):
results = []