47 dom = html.fromstring(resp.text)
50 for result
in eval_xpath_list(dom,
"//div[@id='content']//div[@class='listWidget']/div/div[@class='appRow']"):
52 link = eval_xpath_getindex(result,
'.//h5/a', 0)
54 url = base_url + link.attrib.get(
'href') +
'#downloads'
55 title = extract_text(link)
56 thumbnail = base_url + eval_xpath_getindex(result,
'.//img/@src', 0)
57 res = {
'url': url,
'title': title,
'thumbnail': thumbnail}