diff options
author | jcherqui <joachim.cherqui@viacesi.fr> | 2017-01-15 14:50:29 +0100 |
---|---|---|
committer | jcherqui <joachim.cherqui@viacesi.fr> | 2017-01-15 16:13:23 +0100 |
commit | a320328dda1ae2362a4eeb98e4e46f8ce38d33d3 (patch) | |
tree | 854dbc7da656a9e18550f86af281ed580f9fb958 /searx/engines/1337x.py | |
parent | 0549fb40d2ab0b14354e680880b0de3d9d770452 (diff) | |
download | searxng-a320328dda1ae2362a4eeb98e4e46f8ce38d33d3.tar.gz searxng-a320328dda1ae2362a4eeb98e4e46f8ce38d33d3.zip |
Fix test
Diffstat (limited to 'searx/engines/1337x.py')
-rw-r--r-- | searx/engines/1337x.py | 2 |
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 = [] |