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