ソースを参照

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]