mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] fix xpath of google images
This commit is contained in:
parent
6d76d9b202
commit
c361811cb5
@ -74,7 +74,7 @@ def response(resp):
|
||||
for result in dom.xpath('//div[@data-ved]'):
|
||||
|
||||
try:
|
||||
metadata = loads(''.join(result.xpath('./div[@class="rg_meta"]/text()')))
|
||||
metadata = loads(''.join(result.xpath('./div[contains(@class, "rg_meta")]/text()')))
|
||||
except:
|
||||
continue
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user