summaryrefslogtreecommitdiff
path: root/searx/engines/duckduckgo.py
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-02 18:12:42 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-02 18:12:42 +0200
commit80f98d60413c742d603da8eae3596999942ae77a (patch)
tree2b3b128a483411f4f90d347c96c7e5731efcf2de /searx/engines/duckduckgo.py
parent64a68a7296d356fe28e31a704c3e0d3051220cec (diff)
downloadsearxng-80f98d60413c742d603da8eae3596999942ae77a.tar.gz
searxng-80f98d60413c742d603da8eae3596999942ae77a.zip
add little comment
Diffstat (limited to 'searx/engines/duckduckgo.py')
-rw-r--r--searx/engines/duckduckgo.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/searx/engines/duckduckgo.py b/searx/engines/duckduckgo.py
index eae79481d..4810174ab 100644
--- a/searx/engines/duckduckgo.py
+++ b/searx/engines/duckduckgo.py
@@ -47,6 +47,7 @@ def response(resp):
doc = fromstring(resp.text)
+ # parse results
for r in doc.xpath(result_xpath):
try:
res_url = r.xpath(url_xpath)[-1]