mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 10:32:21 +02:00
[fix] bing images page change
This commit is contained in:
parent
6d55642ab4
commit
71de593a5b
2 changed files with 10 additions and 154 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue