瀏覽代碼

add little comment

Thomas Pointhuber 11 年之前
父節點
當前提交
80f98d6041
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      searx/engines/duckduckgo.py

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

47
 
47
 
48
     doc = fromstring(resp.text)
48
     doc = fromstring(resp.text)
49
 
49
 
50
+    # parse results
50
     for r in doc.xpath(result_xpath):
51
     for r in doc.xpath(result_xpath):
51
         try:
52
         try:
52
             res_url = r.xpath(url_xpath)[-1]
53
             res_url = r.xpath(url_xpath)[-1]