summaryrefslogtreecommitdiff
path: root/searx/engines/1337x.py
diff options
context:
space:
mode:
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 = []