From 5029cb478755c152bfa7da2f6381cd95cc4ee238 Mon Sep 17 00:00:00 2001 From: dalf Date: Fri, 13 Feb 2015 11:17:00 +0100 Subject: [fix] close #197 for all engines --- searx/engines/kickass.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'searx/engines') diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py index 4e5a64350..ea7f17c23 100644 --- a/searx/engines/kickass.py +++ b/searx/engines/kickass.py @@ -45,11 +45,6 @@ def request(query, params): def response(resp): results = [] - # check if redirect comparing to the True value, - # because resp can be a Mock object, and any attribut name returns something. - if resp.is_redirect is True: - return results - dom = html.fromstring(resp.text) search_res = dom.xpath('//table[@class="data"]//tr') -- cgit v1.2.3