Bläddra i källkod

add little comment

Thomas Pointhuber 10 år sedan
förälder
incheckning
80f98d6041
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      searx/engines/duckduckgo.py

+ 1
- 0
searx/engines/duckduckgo.py Visa fil

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]