mirror of
https://github.com/searxng/searxng.git
synced 2024-12-22 01:06:29 +00:00
[fix] debug print removed
This commit is contained in:
parent
0d6368a092
commit
dbf1049c79
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue