summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-03-26 02:07:52 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-03-26 02:07:52 +0100
commit71de593a5b9025e360da32813e9efeaeaa4992b2 (patch)
tree78d45fbd90abb99554423ba7aa3d45323fa201b5 /searx/engines
parent6d55642ab4bb82fe4274acba74464fefefb9f1a2 (diff)
downloadsearxng-71de593a5b9025e360da32813e9efeaeaa4992b2.tar.gz
searxng-71de593a5b9025e360da32813e9efeaeaa4992b2.zip
[fix] bing images page change
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/bing_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py
index 2664b795f..384520392 100644
--- a/searx/engines/bing_images.py
+++ b/searx/engines/bing_images.py
@@ -69,7 +69,7 @@ def response(resp):
dom = html.fromstring(resp.text)
# parse results
- for result in dom.xpath('//div[@class="dg_u"]'):
+ for result in dom.xpath('//div[@class="dg_u"]/div'):
link = result.xpath('./a')[0]
# parse json-data (it is required to add a space, to make it parsable)