@@ -25,6 +25,5 @@ def response(resp):
25 title_links = result.xpath('.//span[@class="details"]//a[contains(@class, "t")]')
25 title_links = result.xpath('.//span[@class="details"]//a[contains(@class, "t")]')
26 title = ''.join(title_links[0].xpath('.//text()'))
26 title = ''.join(title_links[0].xpath('.//text()'))
27 img_src = link.xpath('.//img')[0].attrib['src']
27 img_src = link.xpath('.//img')[0].attrib['src']
29 results.append({'url': url, 'title': title, 'img_src': img_src, 'template': 'images.html'})
28 results.append({'url': url, 'title': title, 'img_src': img_src, 'template': 'images.html'})
30 return results
29 return results