summaryrefslogtreecommitdiff
path: root/searx/engines/frinkiac.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/engines/frinkiac.py')
-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)