瀏覽代碼

[fix] debug print removed

asciimoo 11 年之前
父節點
當前提交
dbf1049c79
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. 0
    1
      searx/engines/deviantart.py

+ 0
- 1
searx/engines/deviantart.py 查看文件

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']
28
-        print img_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