mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix) fix apk_mirror engine
This commit is contained in:
parent
f03ad0a3c0
commit
5e055b069b
@ -45,7 +45,7 @@ def response(resp):
|
|||||||
dom = html.fromstring(resp.text)
|
dom = html.fromstring(resp.text)
|
||||||
|
|
||||||
# parse results
|
# 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)
|
link = eval_xpath_getindex(result, './/h5/a', 0)
|
||||||
url = base_url + link.attrib.get('href') + '#downloads'
|
url = base_url + link.attrib.get('href') + '#downloads'
|
||||||
|
Loading…
Reference in New Issue
Block a user