1
0
mirror of https://github.com/searx/searx synced 2024-12-11 16:35:20 +01:00

Merge pull request #2556 from dalf/fix-apk-mirror

[fix] fix apk_mirror engine
This commit is contained in:
Alexandre Flament 2021-02-10 10:12:37 +01:00 committed by GitHub
commit eafd27f42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'