From a320328dda1ae2362a4eeb98e4e46f8ce38d33d3 Mon Sep 17 00:00:00 2001 From: jcherqui Date: Sun, 15 Jan 2017 14:50:29 +0100 Subject: [PATCH] Fix test --- searx/engines/1337x.py | 2 ++ 1 file changed, 2 insertions(+) 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 = []