summaryrefslogtreecommitdiff
path: root/searx/engines/1337x.py
diff options
context:
space:
mode:
authorjcherqui <joachim.cherqui@viacesi.fr>2017-01-15 14:50:29 +0100
committerjcherqui <joachim.cherqui@viacesi.fr>2017-01-15 16:13:23 +0100
commita320328dda1ae2362a4eeb98e4e46f8ce38d33d3 (patch)
tree854dbc7da656a9e18550f86af281ed580f9fb958 /searx/engines/1337x.py
parent0549fb40d2ab0b14354e680880b0de3d9d770452 (diff)
downloadsearxng-a320328dda1ae2362a4eeb98e4e46f8ce38d33d3.tar.gz
searxng-a320328dda1ae2362a4eeb98e4e46f8ce38d33d3.zip
Fix test
Diffstat (limited to 'searx/engines/1337x.py')
-rw-r--r--searx/engines/1337x.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/1337x.py b/searx/engines/1337x.py
index 8a5da9cb8..8c90a1b3e 100644
--- 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 = []