diff options
author | Noemi Vanyi <sitbackandwait@gmail.com> | 2016-02-04 21:01:44 +0100 |
---|---|---|
committer | Noemi Vanyi <sitbackandwait@gmail.com> | 2016-02-04 21:01:44 +0100 |
commit | 3034c85163264aafb307ddf89add446b88ccb49f (patch) | |
tree | dad893bdc1aa0a26eb8c392a12f486d94728a4ff /searx | |
parent | 33fa3da2e8c832cce2462e4b3a9a3664072d2ea0 (diff) | |
download | searxng-3034c85163264aafb307ddf89add446b88ccb49f.tar.gz searxng-3034c85163264aafb307ddf89add446b88ccb49f.zip |
fix pep8 errors
Diffstat (limited to 'searx')
-rw-r--r-- | searx/engines/frinkiac.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/frinkiac.py b/searx/engines/frinkiac.py index 7edb4a3cb..a9383f862 100644 --- a/searx/engines/frinkiac.py +++ b/searx/engines/frinkiac.py @@ -20,10 +20,12 @@ RESULT_URL = '{base}?{query}' THUMB_URL = '{base}img/{episode}/{timestamp}/medium.jpg' IMAGE_URL = '{base}img/{episode}/{timestamp}.jpg' + def request(query, params): params['url'] = SEARCH_URL.format(base=BASE, query=urlencode({'q': query})) return params + def response(resp): results = [] response_data = loads(resp.text) |