summaryrefslogtreecommitdiff
path: root/searx
diff options
context:
space:
mode:
authorNoemi Vanyi <sitbackandwait@gmail.com>2016-02-04 21:01:44 +0100
committerNoemi Vanyi <sitbackandwait@gmail.com>2016-02-04 21:01:44 +0100
commit3034c85163264aafb307ddf89add446b88ccb49f (patch)
treedad893bdc1aa0a26eb8c392a12f486d94728a4ff /searx
parent33fa3da2e8c832cce2462e4b3a9a3664072d2ea0 (diff)
downloadsearxng-3034c85163264aafb307ddf89add446b88ccb49f.tar.gz
searxng-3034c85163264aafb307ddf89add446b88ccb49f.zip
fix pep8 errors
Diffstat (limited to 'searx')
-rw-r--r--searx/engines/frinkiac.py2
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)