mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	Merge pull request #944 from kvch/fix-google-images
[fix] fix xpath of google images
This commit is contained in:
		
						commit
						39e828df34
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		
		Reference in a new issue