[fix] debug print removed

This commit is contained in:
asciimoo 2013-10-22 23:36:10 +02:00
parent 0d6368a092
commit dbf1049c79

View file

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