on master help sign in
Digg correction
4450ed5Cqoicebordel
searx/engines/digg.py+3
@@ -44,6 +44,9 @@ def response(resp):
44
44
45 search_result = loads(resp.text)
45 search_result = loads(resp.text)
46
46
47+ if search_result['html'] == '':
48+ return results
49+
47 dom = html.fromstring(search_result['html'])
50 dom = html.fromstring(search_result['html'])
48
51
49 # parse results
52 # parse results