on master help sign in
add little comment
80f98d6Thomas Pointhuber
searx/engines/duckduckgo.py+1
@@ -47,6 +47,7 @@ def response(resp):
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]