From 5e055b069bc5f6921bfb20ba60784a57b871732f Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Tue, 9 Feb 2021 11:02:12 +0100 Subject: [PATCH] [fix) fix apk_mirror engine --- searx/engines/apkmirror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searx/engines/apkmirror.py b/searx/engines/apkmirror.py index a4c66e89..a9ddd711 100644 --- a/searx/engines/apkmirror.py +++ b/searx/engines/apkmirror.py @@ -45,7 +45,7 @@ def response(resp): dom = html.fromstring(resp.text) # parse results - for result in eval_xpath_list(dom, './/div[@id="content"]/div[@class="listWidget"]/div[@class="appRow"]'): + for result in eval_xpath_list(dom, './/div[@id="content"]/div[@class="listWidget"]//div[@class="appRow"]'): link = eval_xpath_getindex(result, './/h5/a', 0) url = base_url + link.attrib.get('href') + '#downloads'